
/**
 * This is a generated class and is not intended for modification.  
 */
package com.model.valueObjects
{
import com.adobe.fiber.styles.IStyle;
import com.adobe.fiber.styles.Style;
import com.adobe.fiber.styles.StyleValidator;
import com.adobe.fiber.valueobjects.AbstractEntityMetadata;
import com.adobe.fiber.valueobjects.AvailablePropertyIterator;
import com.adobe.fiber.valueobjects.IPropertyIterator;
import mx.events.ValidationResultEvent;
import com.adobe.fiber.core.model_internal;
import com.adobe.fiber.valueobjects.IModelType;
import mx.events.PropertyChangeEvent;

use namespace model_internal;

[ExcludeClass]
internal class _VoPurchaseOrderEntityMetadata extends com.adobe.fiber.valueobjects.AbstractEntityMetadata
{
    private static var emptyArray:Array = new Array();

    model_internal static var allProperties:Array = new Array("enq_po_serialnumber", "mapped_sc_list", "pro_tax", "po_closed_date", "isamend", "total_amt", "delivery_loc", "discount", "enq_po_serialnumber_fk", "pro_discount", "tax", "shipment_charge", "sales_conformation_fk", "sgd_listprice", "other_part_no", "warehouse_name", "pro_name", "total_qty", "po_term", "self_sc", "cre_userid_fk", "enq_code", "part_number", "po_remarks", "enq_pro_qty", "unit_price", "pro_description", "po_issue_date", "po_serialnumber", "pro_qty", "sc_detserialnumber_fk", "activestatus", "currency_serialnumber_fk", "enq_serialnumber_fk", "current_rate", "enq_pro_serialnumber_fk", "po_serialnumber_fk", "client_name", "po_detserialnumber", "enq_detserialnumber_fk", "total_amount", "cre_datetime", "po_status", "pro_status", "po_id", "pro_total_price", "stamp_number", "supplier_serialnumber_fk", "pro_serialnumber_fk", "enq_det_po_serialnumber", "po_confirm_date", "expected_datetime", "po_gst", "no_of_days", "sales_con_code", "warehouse_serialnumber_fk");
    model_internal static var allAssociationProperties:Array = new Array();
    model_internal static var allRequiredProperties:Array = new Array("enq_po_serialnumber", "mapped_sc_list", "pro_tax", "po_closed_date", "isamend", "total_amt", "delivery_loc", "discount", "enq_po_serialnumber_fk", "pro_discount", "tax", "shipment_charge", "sales_conformation_fk", "sgd_listprice", "other_part_no", "warehouse_name", "pro_name", "total_qty", "po_term", "self_sc", "cre_userid_fk", "enq_code", "part_number", "po_remarks", "enq_pro_qty", "unit_price", "pro_description", "po_issue_date", "po_serialnumber", "pro_qty", "sc_detserialnumber_fk", "activestatus", "currency_serialnumber_fk", "enq_serialnumber_fk", "current_rate", "enq_pro_serialnumber_fk", "po_serialnumber_fk", "client_name", "po_detserialnumber", "enq_detserialnumber_fk", "total_amount", "cre_datetime", "po_status", "pro_status", "po_id", "pro_total_price", "stamp_number", "supplier_serialnumber_fk", "pro_serialnumber_fk", "enq_det_po_serialnumber", "po_confirm_date", "expected_datetime", "po_gst", "no_of_days", "sales_con_code", "warehouse_serialnumber_fk");
    model_internal static var allAlwaysAvailableProperties:Array = new Array("enq_po_serialnumber", "mapped_sc_list", "pro_tax", "po_closed_date", "isamend", "total_amt", "delivery_loc", "discount", "enq_po_serialnumber_fk", "pro_discount", "tax", "shipment_charge", "sales_conformation_fk", "sgd_listprice", "other_part_no", "warehouse_name", "pro_name", "total_qty", "po_term", "self_sc", "cre_userid_fk", "enq_code", "part_number", "po_remarks", "enq_pro_qty", "unit_price", "pro_description", "po_issue_date", "po_serialnumber", "pro_qty", "sc_detserialnumber_fk", "activestatus", "currency_serialnumber_fk", "enq_serialnumber_fk", "current_rate", "enq_pro_serialnumber_fk", "po_serialnumber_fk", "client_name", "po_detserialnumber", "enq_detserialnumber_fk", "total_amount", "cre_datetime", "po_status", "pro_status", "po_id", "pro_total_price", "stamp_number", "supplier_serialnumber_fk", "pro_serialnumber_fk", "enq_det_po_serialnumber", "po_confirm_date", "expected_datetime", "po_gst", "no_of_days", "sales_con_code", "warehouse_serialnumber_fk");
    model_internal static var guardedProperties:Array = new Array();
    model_internal static var dataProperties:Array = new Array("enq_po_serialnumber", "mapped_sc_list", "pro_tax", "po_closed_date", "isamend", "total_amt", "delivery_loc", "discount", "enq_po_serialnumber_fk", "pro_discount", "tax", "shipment_charge", "sales_conformation_fk", "sgd_listprice", "other_part_no", "warehouse_name", "pro_name", "total_qty", "po_term", "self_sc", "cre_userid_fk", "enq_code", "part_number", "po_remarks", "enq_pro_qty", "unit_price", "pro_description", "po_issue_date", "po_serialnumber", "pro_qty", "sc_detserialnumber_fk", "activestatus", "currency_serialnumber_fk", "enq_serialnumber_fk", "current_rate", "enq_pro_serialnumber_fk", "po_serialnumber_fk", "client_name", "po_detserialnumber", "enq_detserialnumber_fk", "total_amount", "cre_datetime", "po_status", "pro_status", "po_id", "pro_total_price", "stamp_number", "supplier_serialnumber_fk", "pro_serialnumber_fk", "enq_det_po_serialnumber", "po_confirm_date", "expected_datetime", "po_gst", "no_of_days", "sales_con_code", "warehouse_serialnumber_fk");
    model_internal static var derivedProperties:Array = new Array();
    model_internal static var collectionProperties:Array = new Array("enq_po_serialnumber", "pro_tax", "delivery_loc", "enq_po_serialnumber_fk", "pro_discount", "sales_conformation_fk", "sgd_listprice", "other_part_no", "warehouse_name", "pro_name", "self_sc", "enq_code", "part_number", "enq_pro_qty", "unit_price", "pro_description", "pro_qty", "sc_detserialnumber_fk", "enq_serialnumber_fk", "enq_pro_serialnumber_fk", "po_serialnumber_fk", "po_detserialnumber", "enq_detserialnumber_fk", "pro_status", "pro_total_price", "stamp_number", "pro_serialnumber_fk", "enq_det_po_serialnumber", "sales_con_code", "warehouse_serialnumber_fk");
    model_internal static var collectionBaseMap:Object;
    model_internal static var entityName:String = "VoPurchaseOrder";
    model_internal static var dependentsOnMap:Object;
    model_internal static var dependedOnServices:Array = new Array();

    
    model_internal var _enq_po_serialnumberIsValid:Boolean;
    model_internal var _enq_po_serialnumberValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _enq_po_serialnumberIsValidCacheInitialized:Boolean = false;
    model_internal var _enq_po_serialnumberValidationFailureMessages:Array;
    
    model_internal var _mapped_sc_listIsValid:Boolean;
    model_internal var _mapped_sc_listValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _mapped_sc_listIsValidCacheInitialized:Boolean = false;
    model_internal var _mapped_sc_listValidationFailureMessages:Array;
    
    model_internal var _pro_taxIsValid:Boolean;
    model_internal var _pro_taxValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _pro_taxIsValidCacheInitialized:Boolean = false;
    model_internal var _pro_taxValidationFailureMessages:Array;
    
    model_internal var _po_closed_dateIsValid:Boolean;
    model_internal var _po_closed_dateValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _po_closed_dateIsValidCacheInitialized:Boolean = false;
    model_internal var _po_closed_dateValidationFailureMessages:Array;
    
    model_internal var _delivery_locIsValid:Boolean;
    model_internal var _delivery_locValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _delivery_locIsValidCacheInitialized:Boolean = false;
    model_internal var _delivery_locValidationFailureMessages:Array;
    
    model_internal var _enq_po_serialnumber_fkIsValid:Boolean;
    model_internal var _enq_po_serialnumber_fkValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _enq_po_serialnumber_fkIsValidCacheInitialized:Boolean = false;
    model_internal var _enq_po_serialnumber_fkValidationFailureMessages:Array;
    
    model_internal var _pro_discountIsValid:Boolean;
    model_internal var _pro_discountValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _pro_discountIsValidCacheInitialized:Boolean = false;
    model_internal var _pro_discountValidationFailureMessages:Array;
    
    model_internal var _sales_conformation_fkIsValid:Boolean;
    model_internal var _sales_conformation_fkValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _sales_conformation_fkIsValidCacheInitialized:Boolean = false;
    model_internal var _sales_conformation_fkValidationFailureMessages:Array;
    
    model_internal var _sgd_listpriceIsValid:Boolean;
    model_internal var _sgd_listpriceValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _sgd_listpriceIsValidCacheInitialized:Boolean = false;
    model_internal var _sgd_listpriceValidationFailureMessages:Array;
    
    model_internal var _other_part_noIsValid:Boolean;
    model_internal var _other_part_noValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _other_part_noIsValidCacheInitialized:Boolean = false;
    model_internal var _other_part_noValidationFailureMessages:Array;
    
    model_internal var _warehouse_nameIsValid:Boolean;
    model_internal var _warehouse_nameValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _warehouse_nameIsValidCacheInitialized:Boolean = false;
    model_internal var _warehouse_nameValidationFailureMessages:Array;
    
    model_internal var _pro_nameIsValid:Boolean;
    model_internal var _pro_nameValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _pro_nameIsValidCacheInitialized:Boolean = false;
    model_internal var _pro_nameValidationFailureMessages:Array;
    
    model_internal var _self_scIsValid:Boolean;
    model_internal var _self_scValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _self_scIsValidCacheInitialized:Boolean = false;
    model_internal var _self_scValidationFailureMessages:Array;
    
    model_internal var _enq_codeIsValid:Boolean;
    model_internal var _enq_codeValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _enq_codeIsValidCacheInitialized:Boolean = false;
    model_internal var _enq_codeValidationFailureMessages:Array;
    
    model_internal var _part_numberIsValid:Boolean;
    model_internal var _part_numberValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _part_numberIsValidCacheInitialized:Boolean = false;
    model_internal var _part_numberValidationFailureMessages:Array;
    
    model_internal var _po_remarksIsValid:Boolean;
    model_internal var _po_remarksValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _po_remarksIsValidCacheInitialized:Boolean = false;
    model_internal var _po_remarksValidationFailureMessages:Array;
    
    model_internal var _enq_pro_qtyIsValid:Boolean;
    model_internal var _enq_pro_qtyValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _enq_pro_qtyIsValidCacheInitialized:Boolean = false;
    model_internal var _enq_pro_qtyValidationFailureMessages:Array;
    
    model_internal var _unit_priceIsValid:Boolean;
    model_internal var _unit_priceValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _unit_priceIsValidCacheInitialized:Boolean = false;
    model_internal var _unit_priceValidationFailureMessages:Array;
    
    model_internal var _pro_descriptionIsValid:Boolean;
    model_internal var _pro_descriptionValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _pro_descriptionIsValidCacheInitialized:Boolean = false;
    model_internal var _pro_descriptionValidationFailureMessages:Array;
    
    model_internal var _po_issue_dateIsValid:Boolean;
    model_internal var _po_issue_dateValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _po_issue_dateIsValidCacheInitialized:Boolean = false;
    model_internal var _po_issue_dateValidationFailureMessages:Array;
    
    model_internal var _pro_qtyIsValid:Boolean;
    model_internal var _pro_qtyValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _pro_qtyIsValidCacheInitialized:Boolean = false;
    model_internal var _pro_qtyValidationFailureMessages:Array;
    
    model_internal var _sc_detserialnumber_fkIsValid:Boolean;
    model_internal var _sc_detserialnumber_fkValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _sc_detserialnumber_fkIsValidCacheInitialized:Boolean = false;
    model_internal var _sc_detserialnumber_fkValidationFailureMessages:Array;
    
    model_internal var _enq_serialnumber_fkIsValid:Boolean;
    model_internal var _enq_serialnumber_fkValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _enq_serialnumber_fkIsValidCacheInitialized:Boolean = false;
    model_internal var _enq_serialnumber_fkValidationFailureMessages:Array;
    
    model_internal var _enq_pro_serialnumber_fkIsValid:Boolean;
    model_internal var _enq_pro_serialnumber_fkValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _enq_pro_serialnumber_fkIsValidCacheInitialized:Boolean = false;
    model_internal var _enq_pro_serialnumber_fkValidationFailureMessages:Array;
    
    model_internal var _po_serialnumber_fkIsValid:Boolean;
    model_internal var _po_serialnumber_fkValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _po_serialnumber_fkIsValidCacheInitialized:Boolean = false;
    model_internal var _po_serialnumber_fkValidationFailureMessages:Array;
    
    model_internal var _client_nameIsValid:Boolean;
    model_internal var _client_nameValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _client_nameIsValidCacheInitialized:Boolean = false;
    model_internal var _client_nameValidationFailureMessages:Array;
    
    model_internal var _po_detserialnumberIsValid:Boolean;
    model_internal var _po_detserialnumberValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _po_detserialnumberIsValidCacheInitialized:Boolean = false;
    model_internal var _po_detserialnumberValidationFailureMessages:Array;
    
    model_internal var _enq_detserialnumber_fkIsValid:Boolean;
    model_internal var _enq_detserialnumber_fkValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _enq_detserialnumber_fkIsValidCacheInitialized:Boolean = false;
    model_internal var _enq_detserialnumber_fkValidationFailureMessages:Array;
    
    model_internal var _cre_datetimeIsValid:Boolean;
    model_internal var _cre_datetimeValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _cre_datetimeIsValidCacheInitialized:Boolean = false;
    model_internal var _cre_datetimeValidationFailureMessages:Array;
    
    model_internal var _po_statusIsValid:Boolean;
    model_internal var _po_statusValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _po_statusIsValidCacheInitialized:Boolean = false;
    model_internal var _po_statusValidationFailureMessages:Array;
    
    model_internal var _pro_statusIsValid:Boolean;
    model_internal var _pro_statusValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _pro_statusIsValidCacheInitialized:Boolean = false;
    model_internal var _pro_statusValidationFailureMessages:Array;
    
    model_internal var _po_idIsValid:Boolean;
    model_internal var _po_idValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _po_idIsValidCacheInitialized:Boolean = false;
    model_internal var _po_idValidationFailureMessages:Array;
    
    model_internal var _pro_total_priceIsValid:Boolean;
    model_internal var _pro_total_priceValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _pro_total_priceIsValidCacheInitialized:Boolean = false;
    model_internal var _pro_total_priceValidationFailureMessages:Array;
    
    model_internal var _stamp_numberIsValid:Boolean;
    model_internal var _stamp_numberValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _stamp_numberIsValidCacheInitialized:Boolean = false;
    model_internal var _stamp_numberValidationFailureMessages:Array;
    
    model_internal var _pro_serialnumber_fkIsValid:Boolean;
    model_internal var _pro_serialnumber_fkValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _pro_serialnumber_fkIsValidCacheInitialized:Boolean = false;
    model_internal var _pro_serialnumber_fkValidationFailureMessages:Array;
    
    model_internal var _enq_det_po_serialnumberIsValid:Boolean;
    model_internal var _enq_det_po_serialnumberValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _enq_det_po_serialnumberIsValidCacheInitialized:Boolean = false;
    model_internal var _enq_det_po_serialnumberValidationFailureMessages:Array;
    
    model_internal var _po_confirm_dateIsValid:Boolean;
    model_internal var _po_confirm_dateValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _po_confirm_dateIsValidCacheInitialized:Boolean = false;
    model_internal var _po_confirm_dateValidationFailureMessages:Array;
    
    model_internal var _expected_datetimeIsValid:Boolean;
    model_internal var _expected_datetimeValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _expected_datetimeIsValidCacheInitialized:Boolean = false;
    model_internal var _expected_datetimeValidationFailureMessages:Array;
    
    model_internal var _sales_con_codeIsValid:Boolean;
    model_internal var _sales_con_codeValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _sales_con_codeIsValidCacheInitialized:Boolean = false;
    model_internal var _sales_con_codeValidationFailureMessages:Array;
    
    model_internal var _warehouse_serialnumber_fkIsValid:Boolean;
    model_internal var _warehouse_serialnumber_fkValidator:com.adobe.fiber.styles.StyleValidator;
    model_internal var _warehouse_serialnumber_fkIsValidCacheInitialized:Boolean = false;
    model_internal var _warehouse_serialnumber_fkValidationFailureMessages:Array;

    model_internal var _instance:_Super_VoPurchaseOrder;
    model_internal static var _nullStyle:com.adobe.fiber.styles.Style = new com.adobe.fiber.styles.Style();

    public function _VoPurchaseOrderEntityMetadata(value : _Super_VoPurchaseOrder)
    {
        // initialize property maps
        if (model_internal::dependentsOnMap == null)
        {
            // depenents map
            model_internal::dependentsOnMap = new Object();
            model_internal::dependentsOnMap["enq_po_serialnumber"] = new Array();
            model_internal::dependentsOnMap["mapped_sc_list"] = new Array();
            model_internal::dependentsOnMap["pro_tax"] = new Array();
            model_internal::dependentsOnMap["po_closed_date"] = new Array();
            model_internal::dependentsOnMap["isamend"] = new Array();
            model_internal::dependentsOnMap["total_amt"] = new Array();
            model_internal::dependentsOnMap["delivery_loc"] = new Array();
            model_internal::dependentsOnMap["discount"] = new Array();
            model_internal::dependentsOnMap["enq_po_serialnumber_fk"] = new Array();
            model_internal::dependentsOnMap["pro_discount"] = new Array();
            model_internal::dependentsOnMap["tax"] = new Array();
            model_internal::dependentsOnMap["shipment_charge"] = new Array();
            model_internal::dependentsOnMap["sales_conformation_fk"] = new Array();
            model_internal::dependentsOnMap["sgd_listprice"] = new Array();
            model_internal::dependentsOnMap["other_part_no"] = new Array();
            model_internal::dependentsOnMap["warehouse_name"] = new Array();
            model_internal::dependentsOnMap["pro_name"] = new Array();
            model_internal::dependentsOnMap["total_qty"] = new Array();
            model_internal::dependentsOnMap["po_term"] = new Array();
            model_internal::dependentsOnMap["self_sc"] = new Array();
            model_internal::dependentsOnMap["cre_userid_fk"] = new Array();
            model_internal::dependentsOnMap["enq_code"] = new Array();
            model_internal::dependentsOnMap["part_number"] = new Array();
            model_internal::dependentsOnMap["po_remarks"] = new Array();
            model_internal::dependentsOnMap["enq_pro_qty"] = new Array();
            model_internal::dependentsOnMap["unit_price"] = new Array();
            model_internal::dependentsOnMap["pro_description"] = new Array();
            model_internal::dependentsOnMap["po_issue_date"] = new Array();
            model_internal::dependentsOnMap["po_serialnumber"] = new Array();
            model_internal::dependentsOnMap["pro_qty"] = new Array();
            model_internal::dependentsOnMap["sc_detserialnumber_fk"] = new Array();
            model_internal::dependentsOnMap["activestatus"] = new Array();
            model_internal::dependentsOnMap["currency_serialnumber_fk"] = new Array();
            model_internal::dependentsOnMap["enq_serialnumber_fk"] = new Array();
            model_internal::dependentsOnMap["current_rate"] = new Array();
            model_internal::dependentsOnMap["enq_pro_serialnumber_fk"] = new Array();
            model_internal::dependentsOnMap["po_serialnumber_fk"] = new Array();
            model_internal::dependentsOnMap["client_name"] = new Array();
            model_internal::dependentsOnMap["po_detserialnumber"] = new Array();
            model_internal::dependentsOnMap["enq_detserialnumber_fk"] = new Array();
            model_internal::dependentsOnMap["total_amount"] = new Array();
            model_internal::dependentsOnMap["cre_datetime"] = new Array();
            model_internal::dependentsOnMap["po_status"] = new Array();
            model_internal::dependentsOnMap["pro_status"] = new Array();
            model_internal::dependentsOnMap["po_id"] = new Array();
            model_internal::dependentsOnMap["pro_total_price"] = new Array();
            model_internal::dependentsOnMap["stamp_number"] = new Array();
            model_internal::dependentsOnMap["supplier_serialnumber_fk"] = new Array();
            model_internal::dependentsOnMap["pro_serialnumber_fk"] = new Array();
            model_internal::dependentsOnMap["enq_det_po_serialnumber"] = new Array();
            model_internal::dependentsOnMap["po_confirm_date"] = new Array();
            model_internal::dependentsOnMap["expected_datetime"] = new Array();
            model_internal::dependentsOnMap["po_gst"] = new Array();
            model_internal::dependentsOnMap["no_of_days"] = new Array();
            model_internal::dependentsOnMap["sales_con_code"] = new Array();
            model_internal::dependentsOnMap["warehouse_serialnumber_fk"] = new Array();

            // collection base map
            model_internal::collectionBaseMap = new Object()
            model_internal::collectionBaseMap["enq_po_serialnumber"] = "int";
            model_internal::collectionBaseMap["pro_tax"] = "Number";
            model_internal::collectionBaseMap["delivery_loc"] = "String";
            model_internal::collectionBaseMap["enq_po_serialnumber_fk"] = "int";
            model_internal::collectionBaseMap["pro_discount"] = "Number";
            model_internal::collectionBaseMap["sales_conformation_fk"] = "int";
            model_internal::collectionBaseMap["sgd_listprice"] = "Number";
            model_internal::collectionBaseMap["other_part_no"] = "String";
            model_internal::collectionBaseMap["warehouse_name"] = "String";
            model_internal::collectionBaseMap["pro_name"] = "String";
            model_internal::collectionBaseMap["self_sc"] = "int";
            model_internal::collectionBaseMap["enq_code"] = "String";
            model_internal::collectionBaseMap["part_number"] = "String";
            model_internal::collectionBaseMap["enq_pro_qty"] = "int";
            model_internal::collectionBaseMap["unit_price"] = "Number";
            model_internal::collectionBaseMap["pro_description"] = "String";
            model_internal::collectionBaseMap["pro_qty"] = "int";
            model_internal::collectionBaseMap["sc_detserialnumber_fk"] = "int";
            model_internal::collectionBaseMap["enq_serialnumber_fk"] = "int";
            model_internal::collectionBaseMap["enq_pro_serialnumber_fk"] = "int";
            model_internal::collectionBaseMap["po_serialnumber_fk"] = "int";
            model_internal::collectionBaseMap["po_detserialnumber"] = "int";
            model_internal::collectionBaseMap["enq_detserialnumber_fk"] = "int";
            model_internal::collectionBaseMap["pro_status"] = "String";
            model_internal::collectionBaseMap["pro_total_price"] = "Number";
            model_internal::collectionBaseMap["stamp_number"] = "String";
            model_internal::collectionBaseMap["pro_serialnumber_fk"] = "int";
            model_internal::collectionBaseMap["enq_det_po_serialnumber"] = "int";
            model_internal::collectionBaseMap["sales_con_code"] = "String";
            model_internal::collectionBaseMap["warehouse_serialnumber_fk"] = "int";
        }

        model_internal::_instance = value;
        model_internal::_enq_po_serialnumberValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForEnq_po_serialnumber);
        model_internal::_enq_po_serialnumberValidator.required = true;
        model_internal::_enq_po_serialnumberValidator.requiredFieldError = "enq_po_serialnumber is required";
        //model_internal::_enq_po_serialnumberValidator.source = model_internal::_instance;
        //model_internal::_enq_po_serialnumberValidator.property = "enq_po_serialnumber";
        model_internal::_mapped_sc_listValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForMapped_sc_list);
        model_internal::_mapped_sc_listValidator.required = true;
        model_internal::_mapped_sc_listValidator.requiredFieldError = "mapped_sc_list is required";
        //model_internal::_mapped_sc_listValidator.source = model_internal::_instance;
        //model_internal::_mapped_sc_listValidator.property = "mapped_sc_list";
        model_internal::_pro_taxValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPro_tax);
        model_internal::_pro_taxValidator.required = true;
        model_internal::_pro_taxValidator.requiredFieldError = "pro_tax is required";
        //model_internal::_pro_taxValidator.source = model_internal::_instance;
        //model_internal::_pro_taxValidator.property = "pro_tax";
        model_internal::_po_closed_dateValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPo_closed_date);
        model_internal::_po_closed_dateValidator.required = true;
        model_internal::_po_closed_dateValidator.requiredFieldError = "po_closed_date is required";
        //model_internal::_po_closed_dateValidator.source = model_internal::_instance;
        //model_internal::_po_closed_dateValidator.property = "po_closed_date";
        model_internal::_delivery_locValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForDelivery_loc);
        model_internal::_delivery_locValidator.required = true;
        model_internal::_delivery_locValidator.requiredFieldError = "delivery_loc is required";
        //model_internal::_delivery_locValidator.source = model_internal::_instance;
        //model_internal::_delivery_locValidator.property = "delivery_loc";
        model_internal::_enq_po_serialnumber_fkValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForEnq_po_serialnumber_fk);
        model_internal::_enq_po_serialnumber_fkValidator.required = true;
        model_internal::_enq_po_serialnumber_fkValidator.requiredFieldError = "enq_po_serialnumber_fk is required";
        //model_internal::_enq_po_serialnumber_fkValidator.source = model_internal::_instance;
        //model_internal::_enq_po_serialnumber_fkValidator.property = "enq_po_serialnumber_fk";
        model_internal::_pro_discountValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPro_discount);
        model_internal::_pro_discountValidator.required = true;
        model_internal::_pro_discountValidator.requiredFieldError = "pro_discount is required";
        //model_internal::_pro_discountValidator.source = model_internal::_instance;
        //model_internal::_pro_discountValidator.property = "pro_discount";
        model_internal::_sales_conformation_fkValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForSales_conformation_fk);
        model_internal::_sales_conformation_fkValidator.required = true;
        model_internal::_sales_conformation_fkValidator.requiredFieldError = "sales_conformation_fk is required";
        //model_internal::_sales_conformation_fkValidator.source = model_internal::_instance;
        //model_internal::_sales_conformation_fkValidator.property = "sales_conformation_fk";
        model_internal::_sgd_listpriceValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForSgd_listprice);
        model_internal::_sgd_listpriceValidator.required = true;
        model_internal::_sgd_listpriceValidator.requiredFieldError = "sgd_listprice is required";
        //model_internal::_sgd_listpriceValidator.source = model_internal::_instance;
        //model_internal::_sgd_listpriceValidator.property = "sgd_listprice";
        model_internal::_other_part_noValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForOther_part_no);
        model_internal::_other_part_noValidator.required = true;
        model_internal::_other_part_noValidator.requiredFieldError = "other_part_no is required";
        //model_internal::_other_part_noValidator.source = model_internal::_instance;
        //model_internal::_other_part_noValidator.property = "other_part_no";
        model_internal::_warehouse_nameValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForWarehouse_name);
        model_internal::_warehouse_nameValidator.required = true;
        model_internal::_warehouse_nameValidator.requiredFieldError = "warehouse_name is required";
        //model_internal::_warehouse_nameValidator.source = model_internal::_instance;
        //model_internal::_warehouse_nameValidator.property = "warehouse_name";
        model_internal::_pro_nameValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPro_name);
        model_internal::_pro_nameValidator.required = true;
        model_internal::_pro_nameValidator.requiredFieldError = "pro_name is required";
        //model_internal::_pro_nameValidator.source = model_internal::_instance;
        //model_internal::_pro_nameValidator.property = "pro_name";
        model_internal::_self_scValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForSelf_sc);
        model_internal::_self_scValidator.required = true;
        model_internal::_self_scValidator.requiredFieldError = "self_sc is required";
        //model_internal::_self_scValidator.source = model_internal::_instance;
        //model_internal::_self_scValidator.property = "self_sc";
        model_internal::_enq_codeValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForEnq_code);
        model_internal::_enq_codeValidator.required = true;
        model_internal::_enq_codeValidator.requiredFieldError = "enq_code is required";
        //model_internal::_enq_codeValidator.source = model_internal::_instance;
        //model_internal::_enq_codeValidator.property = "enq_code";
        model_internal::_part_numberValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPart_number);
        model_internal::_part_numberValidator.required = true;
        model_internal::_part_numberValidator.requiredFieldError = "part_number is required";
        //model_internal::_part_numberValidator.source = model_internal::_instance;
        //model_internal::_part_numberValidator.property = "part_number";
        model_internal::_po_remarksValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPo_remarks);
        model_internal::_po_remarksValidator.required = true;
        model_internal::_po_remarksValidator.requiredFieldError = "po_remarks is required";
        //model_internal::_po_remarksValidator.source = model_internal::_instance;
        //model_internal::_po_remarksValidator.property = "po_remarks";
        model_internal::_enq_pro_qtyValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForEnq_pro_qty);
        model_internal::_enq_pro_qtyValidator.required = true;
        model_internal::_enq_pro_qtyValidator.requiredFieldError = "enq_pro_qty is required";
        //model_internal::_enq_pro_qtyValidator.source = model_internal::_instance;
        //model_internal::_enq_pro_qtyValidator.property = "enq_pro_qty";
        model_internal::_unit_priceValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForUnit_price);
        model_internal::_unit_priceValidator.required = true;
        model_internal::_unit_priceValidator.requiredFieldError = "unit_price is required";
        //model_internal::_unit_priceValidator.source = model_internal::_instance;
        //model_internal::_unit_priceValidator.property = "unit_price";
        model_internal::_pro_descriptionValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPro_description);
        model_internal::_pro_descriptionValidator.required = true;
        model_internal::_pro_descriptionValidator.requiredFieldError = "pro_description is required";
        //model_internal::_pro_descriptionValidator.source = model_internal::_instance;
        //model_internal::_pro_descriptionValidator.property = "pro_description";
        model_internal::_po_issue_dateValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPo_issue_date);
        model_internal::_po_issue_dateValidator.required = true;
        model_internal::_po_issue_dateValidator.requiredFieldError = "po_issue_date is required";
        //model_internal::_po_issue_dateValidator.source = model_internal::_instance;
        //model_internal::_po_issue_dateValidator.property = "po_issue_date";
        model_internal::_pro_qtyValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPro_qty);
        model_internal::_pro_qtyValidator.required = true;
        model_internal::_pro_qtyValidator.requiredFieldError = "pro_qty is required";
        //model_internal::_pro_qtyValidator.source = model_internal::_instance;
        //model_internal::_pro_qtyValidator.property = "pro_qty";
        model_internal::_sc_detserialnumber_fkValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForSc_detserialnumber_fk);
        model_internal::_sc_detserialnumber_fkValidator.required = true;
        model_internal::_sc_detserialnumber_fkValidator.requiredFieldError = "sc_detserialnumber_fk is required";
        //model_internal::_sc_detserialnumber_fkValidator.source = model_internal::_instance;
        //model_internal::_sc_detserialnumber_fkValidator.property = "sc_detserialnumber_fk";
        model_internal::_enq_serialnumber_fkValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForEnq_serialnumber_fk);
        model_internal::_enq_serialnumber_fkValidator.required = true;
        model_internal::_enq_serialnumber_fkValidator.requiredFieldError = "enq_serialnumber_fk is required";
        //model_internal::_enq_serialnumber_fkValidator.source = model_internal::_instance;
        //model_internal::_enq_serialnumber_fkValidator.property = "enq_serialnumber_fk";
        model_internal::_enq_pro_serialnumber_fkValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForEnq_pro_serialnumber_fk);
        model_internal::_enq_pro_serialnumber_fkValidator.required = true;
        model_internal::_enq_pro_serialnumber_fkValidator.requiredFieldError = "enq_pro_serialnumber_fk is required";
        //model_internal::_enq_pro_serialnumber_fkValidator.source = model_internal::_instance;
        //model_internal::_enq_pro_serialnumber_fkValidator.property = "enq_pro_serialnumber_fk";
        model_internal::_po_serialnumber_fkValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPo_serialnumber_fk);
        model_internal::_po_serialnumber_fkValidator.required = true;
        model_internal::_po_serialnumber_fkValidator.requiredFieldError = "po_serialnumber_fk is required";
        //model_internal::_po_serialnumber_fkValidator.source = model_internal::_instance;
        //model_internal::_po_serialnumber_fkValidator.property = "po_serialnumber_fk";
        model_internal::_client_nameValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForClient_name);
        model_internal::_client_nameValidator.required = true;
        model_internal::_client_nameValidator.requiredFieldError = "client_name is required";
        //model_internal::_client_nameValidator.source = model_internal::_instance;
        //model_internal::_client_nameValidator.property = "client_name";
        model_internal::_po_detserialnumberValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPo_detserialnumber);
        model_internal::_po_detserialnumberValidator.required = true;
        model_internal::_po_detserialnumberValidator.requiredFieldError = "po_detserialnumber is required";
        //model_internal::_po_detserialnumberValidator.source = model_internal::_instance;
        //model_internal::_po_detserialnumberValidator.property = "po_detserialnumber";
        model_internal::_enq_detserialnumber_fkValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForEnq_detserialnumber_fk);
        model_internal::_enq_detserialnumber_fkValidator.required = true;
        model_internal::_enq_detserialnumber_fkValidator.requiredFieldError = "enq_detserialnumber_fk is required";
        //model_internal::_enq_detserialnumber_fkValidator.source = model_internal::_instance;
        //model_internal::_enq_detserialnumber_fkValidator.property = "enq_detserialnumber_fk";
        model_internal::_cre_datetimeValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForCre_datetime);
        model_internal::_cre_datetimeValidator.required = true;
        model_internal::_cre_datetimeValidator.requiredFieldError = "cre_datetime is required";
        //model_internal::_cre_datetimeValidator.source = model_internal::_instance;
        //model_internal::_cre_datetimeValidator.property = "cre_datetime";
        model_internal::_po_statusValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPo_status);
        model_internal::_po_statusValidator.required = true;
        model_internal::_po_statusValidator.requiredFieldError = "po_status is required";
        //model_internal::_po_statusValidator.source = model_internal::_instance;
        //model_internal::_po_statusValidator.property = "po_status";
        model_internal::_pro_statusValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPro_status);
        model_internal::_pro_statusValidator.required = true;
        model_internal::_pro_statusValidator.requiredFieldError = "pro_status is required";
        //model_internal::_pro_statusValidator.source = model_internal::_instance;
        //model_internal::_pro_statusValidator.property = "pro_status";
        model_internal::_po_idValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPo_id);
        model_internal::_po_idValidator.required = true;
        model_internal::_po_idValidator.requiredFieldError = "po_id is required";
        //model_internal::_po_idValidator.source = model_internal::_instance;
        //model_internal::_po_idValidator.property = "po_id";
        model_internal::_pro_total_priceValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPro_total_price);
        model_internal::_pro_total_priceValidator.required = true;
        model_internal::_pro_total_priceValidator.requiredFieldError = "pro_total_price is required";
        //model_internal::_pro_total_priceValidator.source = model_internal::_instance;
        //model_internal::_pro_total_priceValidator.property = "pro_total_price";
        model_internal::_stamp_numberValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForStamp_number);
        model_internal::_stamp_numberValidator.required = true;
        model_internal::_stamp_numberValidator.requiredFieldError = "stamp_number is required";
        //model_internal::_stamp_numberValidator.source = model_internal::_instance;
        //model_internal::_stamp_numberValidator.property = "stamp_number";
        model_internal::_pro_serialnumber_fkValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPro_serialnumber_fk);
        model_internal::_pro_serialnumber_fkValidator.required = true;
        model_internal::_pro_serialnumber_fkValidator.requiredFieldError = "pro_serialnumber_fk is required";
        //model_internal::_pro_serialnumber_fkValidator.source = model_internal::_instance;
        //model_internal::_pro_serialnumber_fkValidator.property = "pro_serialnumber_fk";
        model_internal::_enq_det_po_serialnumberValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForEnq_det_po_serialnumber);
        model_internal::_enq_det_po_serialnumberValidator.required = true;
        model_internal::_enq_det_po_serialnumberValidator.requiredFieldError = "enq_det_po_serialnumber is required";
        //model_internal::_enq_det_po_serialnumberValidator.source = model_internal::_instance;
        //model_internal::_enq_det_po_serialnumberValidator.property = "enq_det_po_serialnumber";
        model_internal::_po_confirm_dateValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForPo_confirm_date);
        model_internal::_po_confirm_dateValidator.required = true;
        model_internal::_po_confirm_dateValidator.requiredFieldError = "po_confirm_date is required";
        //model_internal::_po_confirm_dateValidator.source = model_internal::_instance;
        //model_internal::_po_confirm_dateValidator.property = "po_confirm_date";
        model_internal::_expected_datetimeValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForExpected_datetime);
        model_internal::_expected_datetimeValidator.required = true;
        model_internal::_expected_datetimeValidator.requiredFieldError = "expected_datetime is required";
        //model_internal::_expected_datetimeValidator.source = model_internal::_instance;
        //model_internal::_expected_datetimeValidator.property = "expected_datetime";
        model_internal::_sales_con_codeValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForSales_con_code);
        model_internal::_sales_con_codeValidator.required = true;
        model_internal::_sales_con_codeValidator.requiredFieldError = "sales_con_code is required";
        //model_internal::_sales_con_codeValidator.source = model_internal::_instance;
        //model_internal::_sales_con_codeValidator.property = "sales_con_code";
        model_internal::_warehouse_serialnumber_fkValidator = new StyleValidator(model_internal::_instance.model_internal::_doValidationForWarehouse_serialnumber_fk);
        model_internal::_warehouse_serialnumber_fkValidator.required = true;
        model_internal::_warehouse_serialnumber_fkValidator.requiredFieldError = "warehouse_serialnumber_fk is required";
        //model_internal::_warehouse_serialnumber_fkValidator.source = model_internal::_instance;
        //model_internal::_warehouse_serialnumber_fkValidator.property = "warehouse_serialnumber_fk";
    }

    override public function getEntityName():String
    {
        return model_internal::entityName;
    }

    override public function getProperties():Array
    {
        return model_internal::allProperties;
    }

    override public function getAssociationProperties():Array
    {
        return model_internal::allAssociationProperties;
    }

    override public function getRequiredProperties():Array
    {
         return model_internal::allRequiredProperties;   
    }

    override public function getDataProperties():Array
    {
        return model_internal::dataProperties;
    }

    override public function getGuardedProperties():Array
    {
        return model_internal::guardedProperties;
    }

    override public function getUnguardedProperties():Array
    {
        return model_internal::allAlwaysAvailableProperties;
    }

    override public function getDependants(propertyName:String):Array
    {
       if (model_internal::dataProperties.indexOf(propertyName) == -1)
            throw new Error(propertyName + " is not a data property of entity VoPurchaseOrder");  
            
       return model_internal::dependentsOnMap[propertyName] as Array;  
    }

    override public function getDependedOnServices():Array
    {
        return model_internal::dependedOnServices;
    }

    override public function getCollectionProperties():Array
    {
        return model_internal::collectionProperties;
    }

    override public function getCollectionBase(propertyName:String):String
    {
        if (model_internal::collectionProperties.indexOf(propertyName) == -1)
            throw new Error(propertyName + " is not a collection property of entity VoPurchaseOrder");  

        return model_internal::collectionBaseMap[propertyName];
    }

    override public function getAvailableProperties():com.adobe.fiber.valueobjects.IPropertyIterator
    {
        return new com.adobe.fiber.valueobjects.AvailablePropertyIterator(this);
    }

    override public function getValue(propertyName:String):*
    {
        if (model_internal::allProperties.indexOf(propertyName) == -1)
        {
            throw new Error(propertyName + " does not exist for entity VoPurchaseOrder");
        }

        return model_internal::_instance[propertyName];
    }

    override public function setValue(propertyName:String, value:*):void
    {
        if (model_internal::dataProperties.indexOf(propertyName) == -1)
        {
            throw new Error(propertyName + " is not a data property of entity VoPurchaseOrder");
        }

        model_internal::_instance[propertyName] = value;
    }

    override public function getMappedByProperty(associationProperty:String):String
    {
        switch(associationProperty)
        {
            default:
            {
                return null;
            }
        }
    }

    override public function getPropertyLength(propertyName:String):int
    {
        switch(propertyName)
        {
            default:
            {
                return 0;
            }
        }
    }

    override public function isAvailable(propertyName:String):Boolean
    {
        if (model_internal::allProperties.indexOf(propertyName) == -1)
        {
            throw new Error(propertyName + " does not exist for entity VoPurchaseOrder");
        }

        if (model_internal::allAlwaysAvailableProperties.indexOf(propertyName) != -1)
        {
            return true;
        }

        switch(propertyName)
        {
            default:
            {
                return true;
            }
        }
    }

    override public function getIdentityMap():Object
    {
        var returnMap:Object = new Object();

        return returnMap;
    }

    [Bindable(event="propertyChange")]
    override public function get invalidConstraints():Array
    {
        if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
        {
            return model_internal::_instance.model_internal::_invalidConstraints;
        }
        else
        {
            // recalculate isValid
            model_internal::_instance.model_internal::_isValid = model_internal::_instance.model_internal::calculateIsValid();
            return model_internal::_instance.model_internal::_invalidConstraints;        
        }
    }

    [Bindable(event="propertyChange")]
    override public function get validationFailureMessages():Array
    {
        if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
        {
            return model_internal::_instance.model_internal::_validationFailureMessages;
        }
        else
        {
            // recalculate isValid
            model_internal::_instance.model_internal::_isValid = model_internal::_instance.model_internal::calculateIsValid();
            return model_internal::_instance.model_internal::_validationFailureMessages;
        }
    }

    override public function getDependantInvalidConstraints(propertyName:String):Array
    {
        var dependants:Array = getDependants(propertyName);
        if (dependants.length == 0)
        {
            return emptyArray;
        }

        var currentlyInvalid:Array = invalidConstraints;
        if (currentlyInvalid.length == 0)
        {
            return emptyArray;
        }

        var filterFunc:Function = function(element:*, index:int, arr:Array):Boolean
        {
            return dependants.indexOf(element) > -1;
        }

        return currentlyInvalid.filter(filterFunc);
    }

    /**
     * isValid
     */
    [Bindable(event="propertyChange")] 
    public function get isValid() : Boolean
    {
        if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
        {
            return model_internal::_instance.model_internal::_isValid;
        }
        else
        {
            // recalculate isValid
            model_internal::_instance.model_internal::_isValid = model_internal::_instance.model_internal::calculateIsValid();
            return model_internal::_instance.model_internal::_isValid;
        }
    }

    [Bindable(event="propertyChange")]
    public function get isEnq_po_serialnumberAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isMapped_sc_listAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPro_taxAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_closed_dateAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isIsamendAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isTotal_amtAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isDelivery_locAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isDiscountAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isEnq_po_serialnumber_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPro_discountAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isTaxAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isShipment_chargeAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isSales_conformation_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isSgd_listpriceAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isOther_part_noAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isWarehouse_nameAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPro_nameAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isTotal_qtyAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_termAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isSelf_scAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isCre_userid_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isEnq_codeAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPart_numberAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_remarksAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isEnq_pro_qtyAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isUnit_priceAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPro_descriptionAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_issue_dateAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_serialnumberAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPro_qtyAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isSc_detserialnumber_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isActivestatusAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isCurrency_serialnumber_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isEnq_serialnumber_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isCurrent_rateAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isEnq_pro_serialnumber_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_serialnumber_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isClient_nameAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_detserialnumberAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isEnq_detserialnumber_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isTotal_amountAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isCre_datetimeAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_statusAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPro_statusAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_idAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPro_total_priceAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isStamp_numberAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isSupplier_serialnumber_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPro_serialnumber_fkAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isEnq_det_po_serialnumberAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_confirm_dateAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isExpected_datetimeAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isPo_gstAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isNo_of_daysAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isSales_con_codeAvailable():Boolean
    {
        return true;
    }

    [Bindable(event="propertyChange")]
    public function get isWarehouse_serialnumber_fkAvailable():Boolean
    {
        return true;
    }


    /**
     * derived property recalculation
     */
    public function invalidateDependentOnEnq_po_serialnumber():void
    {
        if (model_internal::_enq_po_serialnumberIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfEnq_po_serialnumber = null;
            model_internal::calculateEnq_po_serialnumberIsValid();
        }
    }
    public function invalidateDependentOnMapped_sc_list():void
    {
        if (model_internal::_mapped_sc_listIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfMapped_sc_list = null;
            model_internal::calculateMapped_sc_listIsValid();
        }
    }
    public function invalidateDependentOnPro_tax():void
    {
        if (model_internal::_pro_taxIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPro_tax = null;
            model_internal::calculatePro_taxIsValid();
        }
    }
    public function invalidateDependentOnPo_closed_date():void
    {
        if (model_internal::_po_closed_dateIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPo_closed_date = null;
            model_internal::calculatePo_closed_dateIsValid();
        }
    }
    public function invalidateDependentOnDelivery_loc():void
    {
        if (model_internal::_delivery_locIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfDelivery_loc = null;
            model_internal::calculateDelivery_locIsValid();
        }
    }
    public function invalidateDependentOnEnq_po_serialnumber_fk():void
    {
        if (model_internal::_enq_po_serialnumber_fkIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfEnq_po_serialnumber_fk = null;
            model_internal::calculateEnq_po_serialnumber_fkIsValid();
        }
    }
    public function invalidateDependentOnPro_discount():void
    {
        if (model_internal::_pro_discountIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPro_discount = null;
            model_internal::calculatePro_discountIsValid();
        }
    }
    public function invalidateDependentOnSales_conformation_fk():void
    {
        if (model_internal::_sales_conformation_fkIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfSales_conformation_fk = null;
            model_internal::calculateSales_conformation_fkIsValid();
        }
    }
    public function invalidateDependentOnSgd_listprice():void
    {
        if (model_internal::_sgd_listpriceIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfSgd_listprice = null;
            model_internal::calculateSgd_listpriceIsValid();
        }
    }
    public function invalidateDependentOnOther_part_no():void
    {
        if (model_internal::_other_part_noIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfOther_part_no = null;
            model_internal::calculateOther_part_noIsValid();
        }
    }
    public function invalidateDependentOnWarehouse_name():void
    {
        if (model_internal::_warehouse_nameIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfWarehouse_name = null;
            model_internal::calculateWarehouse_nameIsValid();
        }
    }
    public function invalidateDependentOnPro_name():void
    {
        if (model_internal::_pro_nameIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPro_name = null;
            model_internal::calculatePro_nameIsValid();
        }
    }
    public function invalidateDependentOnSelf_sc():void
    {
        if (model_internal::_self_scIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfSelf_sc = null;
            model_internal::calculateSelf_scIsValid();
        }
    }
    public function invalidateDependentOnEnq_code():void
    {
        if (model_internal::_enq_codeIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfEnq_code = null;
            model_internal::calculateEnq_codeIsValid();
        }
    }
    public function invalidateDependentOnPart_number():void
    {
        if (model_internal::_part_numberIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPart_number = null;
            model_internal::calculatePart_numberIsValid();
        }
    }
    public function invalidateDependentOnPo_remarks():void
    {
        if (model_internal::_po_remarksIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPo_remarks = null;
            model_internal::calculatePo_remarksIsValid();
        }
    }
    public function invalidateDependentOnEnq_pro_qty():void
    {
        if (model_internal::_enq_pro_qtyIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfEnq_pro_qty = null;
            model_internal::calculateEnq_pro_qtyIsValid();
        }
    }
    public function invalidateDependentOnUnit_price():void
    {
        if (model_internal::_unit_priceIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfUnit_price = null;
            model_internal::calculateUnit_priceIsValid();
        }
    }
    public function invalidateDependentOnPro_description():void
    {
        if (model_internal::_pro_descriptionIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPro_description = null;
            model_internal::calculatePro_descriptionIsValid();
        }
    }
    public function invalidateDependentOnPo_issue_date():void
    {
        if (model_internal::_po_issue_dateIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPo_issue_date = null;
            model_internal::calculatePo_issue_dateIsValid();
        }
    }
    public function invalidateDependentOnPro_qty():void
    {
        if (model_internal::_pro_qtyIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPro_qty = null;
            model_internal::calculatePro_qtyIsValid();
        }
    }
    public function invalidateDependentOnSc_detserialnumber_fk():void
    {
        if (model_internal::_sc_detserialnumber_fkIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfSc_detserialnumber_fk = null;
            model_internal::calculateSc_detserialnumber_fkIsValid();
        }
    }
    public function invalidateDependentOnEnq_serialnumber_fk():void
    {
        if (model_internal::_enq_serialnumber_fkIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfEnq_serialnumber_fk = null;
            model_internal::calculateEnq_serialnumber_fkIsValid();
        }
    }
    public function invalidateDependentOnEnq_pro_serialnumber_fk():void
    {
        if (model_internal::_enq_pro_serialnumber_fkIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfEnq_pro_serialnumber_fk = null;
            model_internal::calculateEnq_pro_serialnumber_fkIsValid();
        }
    }
    public function invalidateDependentOnPo_serialnumber_fk():void
    {
        if (model_internal::_po_serialnumber_fkIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPo_serialnumber_fk = null;
            model_internal::calculatePo_serialnumber_fkIsValid();
        }
    }
    public function invalidateDependentOnClient_name():void
    {
        if (model_internal::_client_nameIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfClient_name = null;
            model_internal::calculateClient_nameIsValid();
        }
    }
    public function invalidateDependentOnPo_detserialnumber():void
    {
        if (model_internal::_po_detserialnumberIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPo_detserialnumber = null;
            model_internal::calculatePo_detserialnumberIsValid();
        }
    }
    public function invalidateDependentOnEnq_detserialnumber_fk():void
    {
        if (model_internal::_enq_detserialnumber_fkIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfEnq_detserialnumber_fk = null;
            model_internal::calculateEnq_detserialnumber_fkIsValid();
        }
    }
    public function invalidateDependentOnCre_datetime():void
    {
        if (model_internal::_cre_datetimeIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfCre_datetime = null;
            model_internal::calculateCre_datetimeIsValid();
        }
    }
    public function invalidateDependentOnPo_status():void
    {
        if (model_internal::_po_statusIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPo_status = null;
            model_internal::calculatePo_statusIsValid();
        }
    }
    public function invalidateDependentOnPro_status():void
    {
        if (model_internal::_pro_statusIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPro_status = null;
            model_internal::calculatePro_statusIsValid();
        }
    }
    public function invalidateDependentOnPo_id():void
    {
        if (model_internal::_po_idIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPo_id = null;
            model_internal::calculatePo_idIsValid();
        }
    }
    public function invalidateDependentOnPro_total_price():void
    {
        if (model_internal::_pro_total_priceIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPro_total_price = null;
            model_internal::calculatePro_total_priceIsValid();
        }
    }
    public function invalidateDependentOnStamp_number():void
    {
        if (model_internal::_stamp_numberIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfStamp_number = null;
            model_internal::calculateStamp_numberIsValid();
        }
    }
    public function invalidateDependentOnPro_serialnumber_fk():void
    {
        if (model_internal::_pro_serialnumber_fkIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPro_serialnumber_fk = null;
            model_internal::calculatePro_serialnumber_fkIsValid();
        }
    }
    public function invalidateDependentOnEnq_det_po_serialnumber():void
    {
        if (model_internal::_enq_det_po_serialnumberIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfEnq_det_po_serialnumber = null;
            model_internal::calculateEnq_det_po_serialnumberIsValid();
        }
    }
    public function invalidateDependentOnPo_confirm_date():void
    {
        if (model_internal::_po_confirm_dateIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfPo_confirm_date = null;
            model_internal::calculatePo_confirm_dateIsValid();
        }
    }
    public function invalidateDependentOnExpected_datetime():void
    {
        if (model_internal::_expected_datetimeIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfExpected_datetime = null;
            model_internal::calculateExpected_datetimeIsValid();
        }
    }
    public function invalidateDependentOnSales_con_code():void
    {
        if (model_internal::_sales_con_codeIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfSales_con_code = null;
            model_internal::calculateSales_con_codeIsValid();
        }
    }
    public function invalidateDependentOnWarehouse_serialnumber_fk():void
    {
        if (model_internal::_warehouse_serialnumber_fkIsValidCacheInitialized )
        {
            model_internal::_instance.model_internal::_doValidationCacheOfWarehouse_serialnumber_fk = null;
            model_internal::calculateWarehouse_serialnumber_fkIsValid();
        }
    }

    model_internal function fireChangeEvent(propertyName:String, oldValue:Object, newValue:Object):void
    {
        this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, propertyName, oldValue, newValue));
    }

    [Bindable(event="propertyChange")]   
    public function get enq_po_serialnumberStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get enq_po_serialnumberValidator() : StyleValidator
    {
        return model_internal::_enq_po_serialnumberValidator;
    }

    model_internal function set _enq_po_serialnumberIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_enq_po_serialnumberIsValid;         
        if (oldValue !== value)
        {
            model_internal::_enq_po_serialnumberIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_po_serialnumberIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get enq_po_serialnumberIsValid():Boolean
    {
        if (!model_internal::_enq_po_serialnumberIsValidCacheInitialized)
        {
            model_internal::calculateEnq_po_serialnumberIsValid();
        }

        return model_internal::_enq_po_serialnumberIsValid;
    }

    model_internal function calculateEnq_po_serialnumberIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_enq_po_serialnumberValidator.validate(model_internal::_instance.enq_po_serialnumber)
        model_internal::_enq_po_serialnumberIsValid_der = (valRes.results == null);
        model_internal::_enq_po_serialnumberIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::enq_po_serialnumberValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::enq_po_serialnumberValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get enq_po_serialnumberValidationFailureMessages():Array
    {
        if (model_internal::_enq_po_serialnumberValidationFailureMessages == null)
            model_internal::calculateEnq_po_serialnumberIsValid();

        return _enq_po_serialnumberValidationFailureMessages;
    }

    model_internal function set enq_po_serialnumberValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_enq_po_serialnumberValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_enq_po_serialnumberValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_po_serialnumberValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get mapped_sc_listStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get mapped_sc_listValidator() : StyleValidator
    {
        return model_internal::_mapped_sc_listValidator;
    }

    model_internal function set _mapped_sc_listIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_mapped_sc_listIsValid;         
        if (oldValue !== value)
        {
            model_internal::_mapped_sc_listIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "mapped_sc_listIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get mapped_sc_listIsValid():Boolean
    {
        if (!model_internal::_mapped_sc_listIsValidCacheInitialized)
        {
            model_internal::calculateMapped_sc_listIsValid();
        }

        return model_internal::_mapped_sc_listIsValid;
    }

    model_internal function calculateMapped_sc_listIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_mapped_sc_listValidator.validate(model_internal::_instance.mapped_sc_list)
        model_internal::_mapped_sc_listIsValid_der = (valRes.results == null);
        model_internal::_mapped_sc_listIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::mapped_sc_listValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::mapped_sc_listValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get mapped_sc_listValidationFailureMessages():Array
    {
        if (model_internal::_mapped_sc_listValidationFailureMessages == null)
            model_internal::calculateMapped_sc_listIsValid();

        return _mapped_sc_listValidationFailureMessages;
    }

    model_internal function set mapped_sc_listValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_mapped_sc_listValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_mapped_sc_listValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "mapped_sc_listValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get pro_taxStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get pro_taxValidator() : StyleValidator
    {
        return model_internal::_pro_taxValidator;
    }

    model_internal function set _pro_taxIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_pro_taxIsValid;         
        if (oldValue !== value)
        {
            model_internal::_pro_taxIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_taxIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get pro_taxIsValid():Boolean
    {
        if (!model_internal::_pro_taxIsValidCacheInitialized)
        {
            model_internal::calculatePro_taxIsValid();
        }

        return model_internal::_pro_taxIsValid;
    }

    model_internal function calculatePro_taxIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_pro_taxValidator.validate(model_internal::_instance.pro_tax)
        model_internal::_pro_taxIsValid_der = (valRes.results == null);
        model_internal::_pro_taxIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::pro_taxValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::pro_taxValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get pro_taxValidationFailureMessages():Array
    {
        if (model_internal::_pro_taxValidationFailureMessages == null)
            model_internal::calculatePro_taxIsValid();

        return _pro_taxValidationFailureMessages;
    }

    model_internal function set pro_taxValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_pro_taxValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_pro_taxValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_taxValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get po_closed_dateStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get po_closed_dateValidator() : StyleValidator
    {
        return model_internal::_po_closed_dateValidator;
    }

    model_internal function set _po_closed_dateIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_po_closed_dateIsValid;         
        if (oldValue !== value)
        {
            model_internal::_po_closed_dateIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_closed_dateIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get po_closed_dateIsValid():Boolean
    {
        if (!model_internal::_po_closed_dateIsValidCacheInitialized)
        {
            model_internal::calculatePo_closed_dateIsValid();
        }

        return model_internal::_po_closed_dateIsValid;
    }

    model_internal function calculatePo_closed_dateIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_po_closed_dateValidator.validate(model_internal::_instance.po_closed_date)
        model_internal::_po_closed_dateIsValid_der = (valRes.results == null);
        model_internal::_po_closed_dateIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::po_closed_dateValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::po_closed_dateValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get po_closed_dateValidationFailureMessages():Array
    {
        if (model_internal::_po_closed_dateValidationFailureMessages == null)
            model_internal::calculatePo_closed_dateIsValid();

        return _po_closed_dateValidationFailureMessages;
    }

    model_internal function set po_closed_dateValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_po_closed_dateValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_po_closed_dateValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_closed_dateValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get isamendStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get total_amtStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get delivery_locStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get delivery_locValidator() : StyleValidator
    {
        return model_internal::_delivery_locValidator;
    }

    model_internal function set _delivery_locIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_delivery_locIsValid;         
        if (oldValue !== value)
        {
            model_internal::_delivery_locIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "delivery_locIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get delivery_locIsValid():Boolean
    {
        if (!model_internal::_delivery_locIsValidCacheInitialized)
        {
            model_internal::calculateDelivery_locIsValid();
        }

        return model_internal::_delivery_locIsValid;
    }

    model_internal function calculateDelivery_locIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_delivery_locValidator.validate(model_internal::_instance.delivery_loc)
        model_internal::_delivery_locIsValid_der = (valRes.results == null);
        model_internal::_delivery_locIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::delivery_locValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::delivery_locValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get delivery_locValidationFailureMessages():Array
    {
        if (model_internal::_delivery_locValidationFailureMessages == null)
            model_internal::calculateDelivery_locIsValid();

        return _delivery_locValidationFailureMessages;
    }

    model_internal function set delivery_locValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_delivery_locValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_delivery_locValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "delivery_locValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get discountStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get enq_po_serialnumber_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get enq_po_serialnumber_fkValidator() : StyleValidator
    {
        return model_internal::_enq_po_serialnumber_fkValidator;
    }

    model_internal function set _enq_po_serialnumber_fkIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_enq_po_serialnumber_fkIsValid;         
        if (oldValue !== value)
        {
            model_internal::_enq_po_serialnumber_fkIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_po_serialnumber_fkIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get enq_po_serialnumber_fkIsValid():Boolean
    {
        if (!model_internal::_enq_po_serialnumber_fkIsValidCacheInitialized)
        {
            model_internal::calculateEnq_po_serialnumber_fkIsValid();
        }

        return model_internal::_enq_po_serialnumber_fkIsValid;
    }

    model_internal function calculateEnq_po_serialnumber_fkIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_enq_po_serialnumber_fkValidator.validate(model_internal::_instance.enq_po_serialnumber_fk)
        model_internal::_enq_po_serialnumber_fkIsValid_der = (valRes.results == null);
        model_internal::_enq_po_serialnumber_fkIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::enq_po_serialnumber_fkValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::enq_po_serialnumber_fkValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get enq_po_serialnumber_fkValidationFailureMessages():Array
    {
        if (model_internal::_enq_po_serialnumber_fkValidationFailureMessages == null)
            model_internal::calculateEnq_po_serialnumber_fkIsValid();

        return _enq_po_serialnumber_fkValidationFailureMessages;
    }

    model_internal function set enq_po_serialnumber_fkValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_enq_po_serialnumber_fkValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_enq_po_serialnumber_fkValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_po_serialnumber_fkValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get pro_discountStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get pro_discountValidator() : StyleValidator
    {
        return model_internal::_pro_discountValidator;
    }

    model_internal function set _pro_discountIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_pro_discountIsValid;         
        if (oldValue !== value)
        {
            model_internal::_pro_discountIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_discountIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get pro_discountIsValid():Boolean
    {
        if (!model_internal::_pro_discountIsValidCacheInitialized)
        {
            model_internal::calculatePro_discountIsValid();
        }

        return model_internal::_pro_discountIsValid;
    }

    model_internal function calculatePro_discountIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_pro_discountValidator.validate(model_internal::_instance.pro_discount)
        model_internal::_pro_discountIsValid_der = (valRes.results == null);
        model_internal::_pro_discountIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::pro_discountValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::pro_discountValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get pro_discountValidationFailureMessages():Array
    {
        if (model_internal::_pro_discountValidationFailureMessages == null)
            model_internal::calculatePro_discountIsValid();

        return _pro_discountValidationFailureMessages;
    }

    model_internal function set pro_discountValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_pro_discountValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_pro_discountValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_discountValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get taxStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get shipment_chargeStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get sales_conformation_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get sales_conformation_fkValidator() : StyleValidator
    {
        return model_internal::_sales_conformation_fkValidator;
    }

    model_internal function set _sales_conformation_fkIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_sales_conformation_fkIsValid;         
        if (oldValue !== value)
        {
            model_internal::_sales_conformation_fkIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "sales_conformation_fkIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get sales_conformation_fkIsValid():Boolean
    {
        if (!model_internal::_sales_conformation_fkIsValidCacheInitialized)
        {
            model_internal::calculateSales_conformation_fkIsValid();
        }

        return model_internal::_sales_conformation_fkIsValid;
    }

    model_internal function calculateSales_conformation_fkIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_sales_conformation_fkValidator.validate(model_internal::_instance.sales_conformation_fk)
        model_internal::_sales_conformation_fkIsValid_der = (valRes.results == null);
        model_internal::_sales_conformation_fkIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::sales_conformation_fkValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::sales_conformation_fkValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get sales_conformation_fkValidationFailureMessages():Array
    {
        if (model_internal::_sales_conformation_fkValidationFailureMessages == null)
            model_internal::calculateSales_conformation_fkIsValid();

        return _sales_conformation_fkValidationFailureMessages;
    }

    model_internal function set sales_conformation_fkValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_sales_conformation_fkValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_sales_conformation_fkValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "sales_conformation_fkValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get sgd_listpriceStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get sgd_listpriceValidator() : StyleValidator
    {
        return model_internal::_sgd_listpriceValidator;
    }

    model_internal function set _sgd_listpriceIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_sgd_listpriceIsValid;         
        if (oldValue !== value)
        {
            model_internal::_sgd_listpriceIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "sgd_listpriceIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get sgd_listpriceIsValid():Boolean
    {
        if (!model_internal::_sgd_listpriceIsValidCacheInitialized)
        {
            model_internal::calculateSgd_listpriceIsValid();
        }

        return model_internal::_sgd_listpriceIsValid;
    }

    model_internal function calculateSgd_listpriceIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_sgd_listpriceValidator.validate(model_internal::_instance.sgd_listprice)
        model_internal::_sgd_listpriceIsValid_der = (valRes.results == null);
        model_internal::_sgd_listpriceIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::sgd_listpriceValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::sgd_listpriceValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get sgd_listpriceValidationFailureMessages():Array
    {
        if (model_internal::_sgd_listpriceValidationFailureMessages == null)
            model_internal::calculateSgd_listpriceIsValid();

        return _sgd_listpriceValidationFailureMessages;
    }

    model_internal function set sgd_listpriceValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_sgd_listpriceValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_sgd_listpriceValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "sgd_listpriceValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get other_part_noStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get other_part_noValidator() : StyleValidator
    {
        return model_internal::_other_part_noValidator;
    }

    model_internal function set _other_part_noIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_other_part_noIsValid;         
        if (oldValue !== value)
        {
            model_internal::_other_part_noIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "other_part_noIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get other_part_noIsValid():Boolean
    {
        if (!model_internal::_other_part_noIsValidCacheInitialized)
        {
            model_internal::calculateOther_part_noIsValid();
        }

        return model_internal::_other_part_noIsValid;
    }

    model_internal function calculateOther_part_noIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_other_part_noValidator.validate(model_internal::_instance.other_part_no)
        model_internal::_other_part_noIsValid_der = (valRes.results == null);
        model_internal::_other_part_noIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::other_part_noValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::other_part_noValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get other_part_noValidationFailureMessages():Array
    {
        if (model_internal::_other_part_noValidationFailureMessages == null)
            model_internal::calculateOther_part_noIsValid();

        return _other_part_noValidationFailureMessages;
    }

    model_internal function set other_part_noValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_other_part_noValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_other_part_noValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "other_part_noValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get warehouse_nameStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get warehouse_nameValidator() : StyleValidator
    {
        return model_internal::_warehouse_nameValidator;
    }

    model_internal function set _warehouse_nameIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_warehouse_nameIsValid;         
        if (oldValue !== value)
        {
            model_internal::_warehouse_nameIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "warehouse_nameIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get warehouse_nameIsValid():Boolean
    {
        if (!model_internal::_warehouse_nameIsValidCacheInitialized)
        {
            model_internal::calculateWarehouse_nameIsValid();
        }

        return model_internal::_warehouse_nameIsValid;
    }

    model_internal function calculateWarehouse_nameIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_warehouse_nameValidator.validate(model_internal::_instance.warehouse_name)
        model_internal::_warehouse_nameIsValid_der = (valRes.results == null);
        model_internal::_warehouse_nameIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::warehouse_nameValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::warehouse_nameValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get warehouse_nameValidationFailureMessages():Array
    {
        if (model_internal::_warehouse_nameValidationFailureMessages == null)
            model_internal::calculateWarehouse_nameIsValid();

        return _warehouse_nameValidationFailureMessages;
    }

    model_internal function set warehouse_nameValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_warehouse_nameValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_warehouse_nameValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "warehouse_nameValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get pro_nameStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get pro_nameValidator() : StyleValidator
    {
        return model_internal::_pro_nameValidator;
    }

    model_internal function set _pro_nameIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_pro_nameIsValid;         
        if (oldValue !== value)
        {
            model_internal::_pro_nameIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_nameIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get pro_nameIsValid():Boolean
    {
        if (!model_internal::_pro_nameIsValidCacheInitialized)
        {
            model_internal::calculatePro_nameIsValid();
        }

        return model_internal::_pro_nameIsValid;
    }

    model_internal function calculatePro_nameIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_pro_nameValidator.validate(model_internal::_instance.pro_name)
        model_internal::_pro_nameIsValid_der = (valRes.results == null);
        model_internal::_pro_nameIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::pro_nameValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::pro_nameValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get pro_nameValidationFailureMessages():Array
    {
        if (model_internal::_pro_nameValidationFailureMessages == null)
            model_internal::calculatePro_nameIsValid();

        return _pro_nameValidationFailureMessages;
    }

    model_internal function set pro_nameValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_pro_nameValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_pro_nameValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_nameValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get total_qtyStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get po_termStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get self_scStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get self_scValidator() : StyleValidator
    {
        return model_internal::_self_scValidator;
    }

    model_internal function set _self_scIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_self_scIsValid;         
        if (oldValue !== value)
        {
            model_internal::_self_scIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "self_scIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get self_scIsValid():Boolean
    {
        if (!model_internal::_self_scIsValidCacheInitialized)
        {
            model_internal::calculateSelf_scIsValid();
        }

        return model_internal::_self_scIsValid;
    }

    model_internal function calculateSelf_scIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_self_scValidator.validate(model_internal::_instance.self_sc)
        model_internal::_self_scIsValid_der = (valRes.results == null);
        model_internal::_self_scIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::self_scValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::self_scValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get self_scValidationFailureMessages():Array
    {
        if (model_internal::_self_scValidationFailureMessages == null)
            model_internal::calculateSelf_scIsValid();

        return _self_scValidationFailureMessages;
    }

    model_internal function set self_scValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_self_scValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_self_scValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "self_scValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get cre_userid_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get enq_codeStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get enq_codeValidator() : StyleValidator
    {
        return model_internal::_enq_codeValidator;
    }

    model_internal function set _enq_codeIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_enq_codeIsValid;         
        if (oldValue !== value)
        {
            model_internal::_enq_codeIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_codeIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get enq_codeIsValid():Boolean
    {
        if (!model_internal::_enq_codeIsValidCacheInitialized)
        {
            model_internal::calculateEnq_codeIsValid();
        }

        return model_internal::_enq_codeIsValid;
    }

    model_internal function calculateEnq_codeIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_enq_codeValidator.validate(model_internal::_instance.enq_code)
        model_internal::_enq_codeIsValid_der = (valRes.results == null);
        model_internal::_enq_codeIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::enq_codeValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::enq_codeValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get enq_codeValidationFailureMessages():Array
    {
        if (model_internal::_enq_codeValidationFailureMessages == null)
            model_internal::calculateEnq_codeIsValid();

        return _enq_codeValidationFailureMessages;
    }

    model_internal function set enq_codeValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_enq_codeValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_enq_codeValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_codeValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get part_numberStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get part_numberValidator() : StyleValidator
    {
        return model_internal::_part_numberValidator;
    }

    model_internal function set _part_numberIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_part_numberIsValid;         
        if (oldValue !== value)
        {
            model_internal::_part_numberIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "part_numberIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get part_numberIsValid():Boolean
    {
        if (!model_internal::_part_numberIsValidCacheInitialized)
        {
            model_internal::calculatePart_numberIsValid();
        }

        return model_internal::_part_numberIsValid;
    }

    model_internal function calculatePart_numberIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_part_numberValidator.validate(model_internal::_instance.part_number)
        model_internal::_part_numberIsValid_der = (valRes.results == null);
        model_internal::_part_numberIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::part_numberValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::part_numberValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get part_numberValidationFailureMessages():Array
    {
        if (model_internal::_part_numberValidationFailureMessages == null)
            model_internal::calculatePart_numberIsValid();

        return _part_numberValidationFailureMessages;
    }

    model_internal function set part_numberValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_part_numberValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_part_numberValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "part_numberValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get po_remarksStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get po_remarksValidator() : StyleValidator
    {
        return model_internal::_po_remarksValidator;
    }

    model_internal function set _po_remarksIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_po_remarksIsValid;         
        if (oldValue !== value)
        {
            model_internal::_po_remarksIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_remarksIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get po_remarksIsValid():Boolean
    {
        if (!model_internal::_po_remarksIsValidCacheInitialized)
        {
            model_internal::calculatePo_remarksIsValid();
        }

        return model_internal::_po_remarksIsValid;
    }

    model_internal function calculatePo_remarksIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_po_remarksValidator.validate(model_internal::_instance.po_remarks)
        model_internal::_po_remarksIsValid_der = (valRes.results == null);
        model_internal::_po_remarksIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::po_remarksValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::po_remarksValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get po_remarksValidationFailureMessages():Array
    {
        if (model_internal::_po_remarksValidationFailureMessages == null)
            model_internal::calculatePo_remarksIsValid();

        return _po_remarksValidationFailureMessages;
    }

    model_internal function set po_remarksValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_po_remarksValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_po_remarksValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_remarksValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get enq_pro_qtyStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get enq_pro_qtyValidator() : StyleValidator
    {
        return model_internal::_enq_pro_qtyValidator;
    }

    model_internal function set _enq_pro_qtyIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_enq_pro_qtyIsValid;         
        if (oldValue !== value)
        {
            model_internal::_enq_pro_qtyIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_pro_qtyIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get enq_pro_qtyIsValid():Boolean
    {
        if (!model_internal::_enq_pro_qtyIsValidCacheInitialized)
        {
            model_internal::calculateEnq_pro_qtyIsValid();
        }

        return model_internal::_enq_pro_qtyIsValid;
    }

    model_internal function calculateEnq_pro_qtyIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_enq_pro_qtyValidator.validate(model_internal::_instance.enq_pro_qty)
        model_internal::_enq_pro_qtyIsValid_der = (valRes.results == null);
        model_internal::_enq_pro_qtyIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::enq_pro_qtyValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::enq_pro_qtyValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get enq_pro_qtyValidationFailureMessages():Array
    {
        if (model_internal::_enq_pro_qtyValidationFailureMessages == null)
            model_internal::calculateEnq_pro_qtyIsValid();

        return _enq_pro_qtyValidationFailureMessages;
    }

    model_internal function set enq_pro_qtyValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_enq_pro_qtyValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_enq_pro_qtyValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_pro_qtyValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get unit_priceStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get unit_priceValidator() : StyleValidator
    {
        return model_internal::_unit_priceValidator;
    }

    model_internal function set _unit_priceIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_unit_priceIsValid;         
        if (oldValue !== value)
        {
            model_internal::_unit_priceIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "unit_priceIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get unit_priceIsValid():Boolean
    {
        if (!model_internal::_unit_priceIsValidCacheInitialized)
        {
            model_internal::calculateUnit_priceIsValid();
        }

        return model_internal::_unit_priceIsValid;
    }

    model_internal function calculateUnit_priceIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_unit_priceValidator.validate(model_internal::_instance.unit_price)
        model_internal::_unit_priceIsValid_der = (valRes.results == null);
        model_internal::_unit_priceIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::unit_priceValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::unit_priceValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get unit_priceValidationFailureMessages():Array
    {
        if (model_internal::_unit_priceValidationFailureMessages == null)
            model_internal::calculateUnit_priceIsValid();

        return _unit_priceValidationFailureMessages;
    }

    model_internal function set unit_priceValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_unit_priceValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_unit_priceValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "unit_priceValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get pro_descriptionStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get pro_descriptionValidator() : StyleValidator
    {
        return model_internal::_pro_descriptionValidator;
    }

    model_internal function set _pro_descriptionIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_pro_descriptionIsValid;         
        if (oldValue !== value)
        {
            model_internal::_pro_descriptionIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_descriptionIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get pro_descriptionIsValid():Boolean
    {
        if (!model_internal::_pro_descriptionIsValidCacheInitialized)
        {
            model_internal::calculatePro_descriptionIsValid();
        }

        return model_internal::_pro_descriptionIsValid;
    }

    model_internal function calculatePro_descriptionIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_pro_descriptionValidator.validate(model_internal::_instance.pro_description)
        model_internal::_pro_descriptionIsValid_der = (valRes.results == null);
        model_internal::_pro_descriptionIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::pro_descriptionValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::pro_descriptionValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get pro_descriptionValidationFailureMessages():Array
    {
        if (model_internal::_pro_descriptionValidationFailureMessages == null)
            model_internal::calculatePro_descriptionIsValid();

        return _pro_descriptionValidationFailureMessages;
    }

    model_internal function set pro_descriptionValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_pro_descriptionValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_pro_descriptionValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_descriptionValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get po_issue_dateStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get po_issue_dateValidator() : StyleValidator
    {
        return model_internal::_po_issue_dateValidator;
    }

    model_internal function set _po_issue_dateIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_po_issue_dateIsValid;         
        if (oldValue !== value)
        {
            model_internal::_po_issue_dateIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_issue_dateIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get po_issue_dateIsValid():Boolean
    {
        if (!model_internal::_po_issue_dateIsValidCacheInitialized)
        {
            model_internal::calculatePo_issue_dateIsValid();
        }

        return model_internal::_po_issue_dateIsValid;
    }

    model_internal function calculatePo_issue_dateIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_po_issue_dateValidator.validate(model_internal::_instance.po_issue_date)
        model_internal::_po_issue_dateIsValid_der = (valRes.results == null);
        model_internal::_po_issue_dateIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::po_issue_dateValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::po_issue_dateValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get po_issue_dateValidationFailureMessages():Array
    {
        if (model_internal::_po_issue_dateValidationFailureMessages == null)
            model_internal::calculatePo_issue_dateIsValid();

        return _po_issue_dateValidationFailureMessages;
    }

    model_internal function set po_issue_dateValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_po_issue_dateValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_po_issue_dateValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_issue_dateValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get po_serialnumberStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get pro_qtyStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get pro_qtyValidator() : StyleValidator
    {
        return model_internal::_pro_qtyValidator;
    }

    model_internal function set _pro_qtyIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_pro_qtyIsValid;         
        if (oldValue !== value)
        {
            model_internal::_pro_qtyIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_qtyIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get pro_qtyIsValid():Boolean
    {
        if (!model_internal::_pro_qtyIsValidCacheInitialized)
        {
            model_internal::calculatePro_qtyIsValid();
        }

        return model_internal::_pro_qtyIsValid;
    }

    model_internal function calculatePro_qtyIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_pro_qtyValidator.validate(model_internal::_instance.pro_qty)
        model_internal::_pro_qtyIsValid_der = (valRes.results == null);
        model_internal::_pro_qtyIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::pro_qtyValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::pro_qtyValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get pro_qtyValidationFailureMessages():Array
    {
        if (model_internal::_pro_qtyValidationFailureMessages == null)
            model_internal::calculatePro_qtyIsValid();

        return _pro_qtyValidationFailureMessages;
    }

    model_internal function set pro_qtyValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_pro_qtyValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_pro_qtyValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_qtyValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get sc_detserialnumber_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get sc_detserialnumber_fkValidator() : StyleValidator
    {
        return model_internal::_sc_detserialnumber_fkValidator;
    }

    model_internal function set _sc_detserialnumber_fkIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_sc_detserialnumber_fkIsValid;         
        if (oldValue !== value)
        {
            model_internal::_sc_detserialnumber_fkIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "sc_detserialnumber_fkIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get sc_detserialnumber_fkIsValid():Boolean
    {
        if (!model_internal::_sc_detserialnumber_fkIsValidCacheInitialized)
        {
            model_internal::calculateSc_detserialnumber_fkIsValid();
        }

        return model_internal::_sc_detserialnumber_fkIsValid;
    }

    model_internal function calculateSc_detserialnumber_fkIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_sc_detserialnumber_fkValidator.validate(model_internal::_instance.sc_detserialnumber_fk)
        model_internal::_sc_detserialnumber_fkIsValid_der = (valRes.results == null);
        model_internal::_sc_detserialnumber_fkIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::sc_detserialnumber_fkValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::sc_detserialnumber_fkValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get sc_detserialnumber_fkValidationFailureMessages():Array
    {
        if (model_internal::_sc_detserialnumber_fkValidationFailureMessages == null)
            model_internal::calculateSc_detserialnumber_fkIsValid();

        return _sc_detserialnumber_fkValidationFailureMessages;
    }

    model_internal function set sc_detserialnumber_fkValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_sc_detserialnumber_fkValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_sc_detserialnumber_fkValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "sc_detserialnumber_fkValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get activestatusStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get currency_serialnumber_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get enq_serialnumber_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get enq_serialnumber_fkValidator() : StyleValidator
    {
        return model_internal::_enq_serialnumber_fkValidator;
    }

    model_internal function set _enq_serialnumber_fkIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_enq_serialnumber_fkIsValid;         
        if (oldValue !== value)
        {
            model_internal::_enq_serialnumber_fkIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_serialnumber_fkIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get enq_serialnumber_fkIsValid():Boolean
    {
        if (!model_internal::_enq_serialnumber_fkIsValidCacheInitialized)
        {
            model_internal::calculateEnq_serialnumber_fkIsValid();
        }

        return model_internal::_enq_serialnumber_fkIsValid;
    }

    model_internal function calculateEnq_serialnumber_fkIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_enq_serialnumber_fkValidator.validate(model_internal::_instance.enq_serialnumber_fk)
        model_internal::_enq_serialnumber_fkIsValid_der = (valRes.results == null);
        model_internal::_enq_serialnumber_fkIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::enq_serialnumber_fkValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::enq_serialnumber_fkValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get enq_serialnumber_fkValidationFailureMessages():Array
    {
        if (model_internal::_enq_serialnumber_fkValidationFailureMessages == null)
            model_internal::calculateEnq_serialnumber_fkIsValid();

        return _enq_serialnumber_fkValidationFailureMessages;
    }

    model_internal function set enq_serialnumber_fkValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_enq_serialnumber_fkValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_enq_serialnumber_fkValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_serialnumber_fkValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get current_rateStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get enq_pro_serialnumber_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get enq_pro_serialnumber_fkValidator() : StyleValidator
    {
        return model_internal::_enq_pro_serialnumber_fkValidator;
    }

    model_internal function set _enq_pro_serialnumber_fkIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_enq_pro_serialnumber_fkIsValid;         
        if (oldValue !== value)
        {
            model_internal::_enq_pro_serialnumber_fkIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_pro_serialnumber_fkIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get enq_pro_serialnumber_fkIsValid():Boolean
    {
        if (!model_internal::_enq_pro_serialnumber_fkIsValidCacheInitialized)
        {
            model_internal::calculateEnq_pro_serialnumber_fkIsValid();
        }

        return model_internal::_enq_pro_serialnumber_fkIsValid;
    }

    model_internal function calculateEnq_pro_serialnumber_fkIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_enq_pro_serialnumber_fkValidator.validate(model_internal::_instance.enq_pro_serialnumber_fk)
        model_internal::_enq_pro_serialnumber_fkIsValid_der = (valRes.results == null);
        model_internal::_enq_pro_serialnumber_fkIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::enq_pro_serialnumber_fkValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::enq_pro_serialnumber_fkValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get enq_pro_serialnumber_fkValidationFailureMessages():Array
    {
        if (model_internal::_enq_pro_serialnumber_fkValidationFailureMessages == null)
            model_internal::calculateEnq_pro_serialnumber_fkIsValid();

        return _enq_pro_serialnumber_fkValidationFailureMessages;
    }

    model_internal function set enq_pro_serialnumber_fkValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_enq_pro_serialnumber_fkValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_enq_pro_serialnumber_fkValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_pro_serialnumber_fkValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get po_serialnumber_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get po_serialnumber_fkValidator() : StyleValidator
    {
        return model_internal::_po_serialnumber_fkValidator;
    }

    model_internal function set _po_serialnumber_fkIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_po_serialnumber_fkIsValid;         
        if (oldValue !== value)
        {
            model_internal::_po_serialnumber_fkIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_serialnumber_fkIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get po_serialnumber_fkIsValid():Boolean
    {
        if (!model_internal::_po_serialnumber_fkIsValidCacheInitialized)
        {
            model_internal::calculatePo_serialnumber_fkIsValid();
        }

        return model_internal::_po_serialnumber_fkIsValid;
    }

    model_internal function calculatePo_serialnumber_fkIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_po_serialnumber_fkValidator.validate(model_internal::_instance.po_serialnumber_fk)
        model_internal::_po_serialnumber_fkIsValid_der = (valRes.results == null);
        model_internal::_po_serialnumber_fkIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::po_serialnumber_fkValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::po_serialnumber_fkValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get po_serialnumber_fkValidationFailureMessages():Array
    {
        if (model_internal::_po_serialnumber_fkValidationFailureMessages == null)
            model_internal::calculatePo_serialnumber_fkIsValid();

        return _po_serialnumber_fkValidationFailureMessages;
    }

    model_internal function set po_serialnumber_fkValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_po_serialnumber_fkValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_po_serialnumber_fkValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_serialnumber_fkValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get client_nameStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get client_nameValidator() : StyleValidator
    {
        return model_internal::_client_nameValidator;
    }

    model_internal function set _client_nameIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_client_nameIsValid;         
        if (oldValue !== value)
        {
            model_internal::_client_nameIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "client_nameIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get client_nameIsValid():Boolean
    {
        if (!model_internal::_client_nameIsValidCacheInitialized)
        {
            model_internal::calculateClient_nameIsValid();
        }

        return model_internal::_client_nameIsValid;
    }

    model_internal function calculateClient_nameIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_client_nameValidator.validate(model_internal::_instance.client_name)
        model_internal::_client_nameIsValid_der = (valRes.results == null);
        model_internal::_client_nameIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::client_nameValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::client_nameValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get client_nameValidationFailureMessages():Array
    {
        if (model_internal::_client_nameValidationFailureMessages == null)
            model_internal::calculateClient_nameIsValid();

        return _client_nameValidationFailureMessages;
    }

    model_internal function set client_nameValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_client_nameValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_client_nameValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "client_nameValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get po_detserialnumberStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get po_detserialnumberValidator() : StyleValidator
    {
        return model_internal::_po_detserialnumberValidator;
    }

    model_internal function set _po_detserialnumberIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_po_detserialnumberIsValid;         
        if (oldValue !== value)
        {
            model_internal::_po_detserialnumberIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_detserialnumberIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get po_detserialnumberIsValid():Boolean
    {
        if (!model_internal::_po_detserialnumberIsValidCacheInitialized)
        {
            model_internal::calculatePo_detserialnumberIsValid();
        }

        return model_internal::_po_detserialnumberIsValid;
    }

    model_internal function calculatePo_detserialnumberIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_po_detserialnumberValidator.validate(model_internal::_instance.po_detserialnumber)
        model_internal::_po_detserialnumberIsValid_der = (valRes.results == null);
        model_internal::_po_detserialnumberIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::po_detserialnumberValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::po_detserialnumberValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get po_detserialnumberValidationFailureMessages():Array
    {
        if (model_internal::_po_detserialnumberValidationFailureMessages == null)
            model_internal::calculatePo_detserialnumberIsValid();

        return _po_detserialnumberValidationFailureMessages;
    }

    model_internal function set po_detserialnumberValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_po_detserialnumberValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_po_detserialnumberValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_detserialnumberValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get enq_detserialnumber_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get enq_detserialnumber_fkValidator() : StyleValidator
    {
        return model_internal::_enq_detserialnumber_fkValidator;
    }

    model_internal function set _enq_detserialnumber_fkIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_enq_detserialnumber_fkIsValid;         
        if (oldValue !== value)
        {
            model_internal::_enq_detserialnumber_fkIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_detserialnumber_fkIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get enq_detserialnumber_fkIsValid():Boolean
    {
        if (!model_internal::_enq_detserialnumber_fkIsValidCacheInitialized)
        {
            model_internal::calculateEnq_detserialnumber_fkIsValid();
        }

        return model_internal::_enq_detserialnumber_fkIsValid;
    }

    model_internal function calculateEnq_detserialnumber_fkIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_enq_detserialnumber_fkValidator.validate(model_internal::_instance.enq_detserialnumber_fk)
        model_internal::_enq_detserialnumber_fkIsValid_der = (valRes.results == null);
        model_internal::_enq_detserialnumber_fkIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::enq_detserialnumber_fkValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::enq_detserialnumber_fkValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get enq_detserialnumber_fkValidationFailureMessages():Array
    {
        if (model_internal::_enq_detserialnumber_fkValidationFailureMessages == null)
            model_internal::calculateEnq_detserialnumber_fkIsValid();

        return _enq_detserialnumber_fkValidationFailureMessages;
    }

    model_internal function set enq_detserialnumber_fkValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_enq_detserialnumber_fkValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_enq_detserialnumber_fkValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_detserialnumber_fkValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get total_amountStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get cre_datetimeStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get cre_datetimeValidator() : StyleValidator
    {
        return model_internal::_cre_datetimeValidator;
    }

    model_internal function set _cre_datetimeIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_cre_datetimeIsValid;         
        if (oldValue !== value)
        {
            model_internal::_cre_datetimeIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "cre_datetimeIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get cre_datetimeIsValid():Boolean
    {
        if (!model_internal::_cre_datetimeIsValidCacheInitialized)
        {
            model_internal::calculateCre_datetimeIsValid();
        }

        return model_internal::_cre_datetimeIsValid;
    }

    model_internal function calculateCre_datetimeIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_cre_datetimeValidator.validate(model_internal::_instance.cre_datetime)
        model_internal::_cre_datetimeIsValid_der = (valRes.results == null);
        model_internal::_cre_datetimeIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::cre_datetimeValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::cre_datetimeValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get cre_datetimeValidationFailureMessages():Array
    {
        if (model_internal::_cre_datetimeValidationFailureMessages == null)
            model_internal::calculateCre_datetimeIsValid();

        return _cre_datetimeValidationFailureMessages;
    }

    model_internal function set cre_datetimeValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_cre_datetimeValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_cre_datetimeValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "cre_datetimeValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get po_statusStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get po_statusValidator() : StyleValidator
    {
        return model_internal::_po_statusValidator;
    }

    model_internal function set _po_statusIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_po_statusIsValid;         
        if (oldValue !== value)
        {
            model_internal::_po_statusIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_statusIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get po_statusIsValid():Boolean
    {
        if (!model_internal::_po_statusIsValidCacheInitialized)
        {
            model_internal::calculatePo_statusIsValid();
        }

        return model_internal::_po_statusIsValid;
    }

    model_internal function calculatePo_statusIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_po_statusValidator.validate(model_internal::_instance.po_status)
        model_internal::_po_statusIsValid_der = (valRes.results == null);
        model_internal::_po_statusIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::po_statusValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::po_statusValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get po_statusValidationFailureMessages():Array
    {
        if (model_internal::_po_statusValidationFailureMessages == null)
            model_internal::calculatePo_statusIsValid();

        return _po_statusValidationFailureMessages;
    }

    model_internal function set po_statusValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_po_statusValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_po_statusValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_statusValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get pro_statusStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get pro_statusValidator() : StyleValidator
    {
        return model_internal::_pro_statusValidator;
    }

    model_internal function set _pro_statusIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_pro_statusIsValid;         
        if (oldValue !== value)
        {
            model_internal::_pro_statusIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_statusIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get pro_statusIsValid():Boolean
    {
        if (!model_internal::_pro_statusIsValidCacheInitialized)
        {
            model_internal::calculatePro_statusIsValid();
        }

        return model_internal::_pro_statusIsValid;
    }

    model_internal function calculatePro_statusIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_pro_statusValidator.validate(model_internal::_instance.pro_status)
        model_internal::_pro_statusIsValid_der = (valRes.results == null);
        model_internal::_pro_statusIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::pro_statusValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::pro_statusValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get pro_statusValidationFailureMessages():Array
    {
        if (model_internal::_pro_statusValidationFailureMessages == null)
            model_internal::calculatePro_statusIsValid();

        return _pro_statusValidationFailureMessages;
    }

    model_internal function set pro_statusValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_pro_statusValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_pro_statusValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_statusValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get po_idStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get po_idValidator() : StyleValidator
    {
        return model_internal::_po_idValidator;
    }

    model_internal function set _po_idIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_po_idIsValid;         
        if (oldValue !== value)
        {
            model_internal::_po_idIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_idIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get po_idIsValid():Boolean
    {
        if (!model_internal::_po_idIsValidCacheInitialized)
        {
            model_internal::calculatePo_idIsValid();
        }

        return model_internal::_po_idIsValid;
    }

    model_internal function calculatePo_idIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_po_idValidator.validate(model_internal::_instance.po_id)
        model_internal::_po_idIsValid_der = (valRes.results == null);
        model_internal::_po_idIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::po_idValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::po_idValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get po_idValidationFailureMessages():Array
    {
        if (model_internal::_po_idValidationFailureMessages == null)
            model_internal::calculatePo_idIsValid();

        return _po_idValidationFailureMessages;
    }

    model_internal function set po_idValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_po_idValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_po_idValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_idValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get pro_total_priceStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get pro_total_priceValidator() : StyleValidator
    {
        return model_internal::_pro_total_priceValidator;
    }

    model_internal function set _pro_total_priceIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_pro_total_priceIsValid;         
        if (oldValue !== value)
        {
            model_internal::_pro_total_priceIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_total_priceIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get pro_total_priceIsValid():Boolean
    {
        if (!model_internal::_pro_total_priceIsValidCacheInitialized)
        {
            model_internal::calculatePro_total_priceIsValid();
        }

        return model_internal::_pro_total_priceIsValid;
    }

    model_internal function calculatePro_total_priceIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_pro_total_priceValidator.validate(model_internal::_instance.pro_total_price)
        model_internal::_pro_total_priceIsValid_der = (valRes.results == null);
        model_internal::_pro_total_priceIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::pro_total_priceValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::pro_total_priceValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get pro_total_priceValidationFailureMessages():Array
    {
        if (model_internal::_pro_total_priceValidationFailureMessages == null)
            model_internal::calculatePro_total_priceIsValid();

        return _pro_total_priceValidationFailureMessages;
    }

    model_internal function set pro_total_priceValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_pro_total_priceValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_pro_total_priceValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_total_priceValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get stamp_numberStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get stamp_numberValidator() : StyleValidator
    {
        return model_internal::_stamp_numberValidator;
    }

    model_internal function set _stamp_numberIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_stamp_numberIsValid;         
        if (oldValue !== value)
        {
            model_internal::_stamp_numberIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "stamp_numberIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get stamp_numberIsValid():Boolean
    {
        if (!model_internal::_stamp_numberIsValidCacheInitialized)
        {
            model_internal::calculateStamp_numberIsValid();
        }

        return model_internal::_stamp_numberIsValid;
    }

    model_internal function calculateStamp_numberIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_stamp_numberValidator.validate(model_internal::_instance.stamp_number)
        model_internal::_stamp_numberIsValid_der = (valRes.results == null);
        model_internal::_stamp_numberIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::stamp_numberValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::stamp_numberValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get stamp_numberValidationFailureMessages():Array
    {
        if (model_internal::_stamp_numberValidationFailureMessages == null)
            model_internal::calculateStamp_numberIsValid();

        return _stamp_numberValidationFailureMessages;
    }

    model_internal function set stamp_numberValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_stamp_numberValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_stamp_numberValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "stamp_numberValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get supplier_serialnumber_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get pro_serialnumber_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get pro_serialnumber_fkValidator() : StyleValidator
    {
        return model_internal::_pro_serialnumber_fkValidator;
    }

    model_internal function set _pro_serialnumber_fkIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_pro_serialnumber_fkIsValid;         
        if (oldValue !== value)
        {
            model_internal::_pro_serialnumber_fkIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_serialnumber_fkIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get pro_serialnumber_fkIsValid():Boolean
    {
        if (!model_internal::_pro_serialnumber_fkIsValidCacheInitialized)
        {
            model_internal::calculatePro_serialnumber_fkIsValid();
        }

        return model_internal::_pro_serialnumber_fkIsValid;
    }

    model_internal function calculatePro_serialnumber_fkIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_pro_serialnumber_fkValidator.validate(model_internal::_instance.pro_serialnumber_fk)
        model_internal::_pro_serialnumber_fkIsValid_der = (valRes.results == null);
        model_internal::_pro_serialnumber_fkIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::pro_serialnumber_fkValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::pro_serialnumber_fkValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get pro_serialnumber_fkValidationFailureMessages():Array
    {
        if (model_internal::_pro_serialnumber_fkValidationFailureMessages == null)
            model_internal::calculatePro_serialnumber_fkIsValid();

        return _pro_serialnumber_fkValidationFailureMessages;
    }

    model_internal function set pro_serialnumber_fkValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_pro_serialnumber_fkValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_pro_serialnumber_fkValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "pro_serialnumber_fkValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get enq_det_po_serialnumberStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get enq_det_po_serialnumberValidator() : StyleValidator
    {
        return model_internal::_enq_det_po_serialnumberValidator;
    }

    model_internal function set _enq_det_po_serialnumberIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_enq_det_po_serialnumberIsValid;         
        if (oldValue !== value)
        {
            model_internal::_enq_det_po_serialnumberIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_det_po_serialnumberIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get enq_det_po_serialnumberIsValid():Boolean
    {
        if (!model_internal::_enq_det_po_serialnumberIsValidCacheInitialized)
        {
            model_internal::calculateEnq_det_po_serialnumberIsValid();
        }

        return model_internal::_enq_det_po_serialnumberIsValid;
    }

    model_internal function calculateEnq_det_po_serialnumberIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_enq_det_po_serialnumberValidator.validate(model_internal::_instance.enq_det_po_serialnumber)
        model_internal::_enq_det_po_serialnumberIsValid_der = (valRes.results == null);
        model_internal::_enq_det_po_serialnumberIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::enq_det_po_serialnumberValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::enq_det_po_serialnumberValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get enq_det_po_serialnumberValidationFailureMessages():Array
    {
        if (model_internal::_enq_det_po_serialnumberValidationFailureMessages == null)
            model_internal::calculateEnq_det_po_serialnumberIsValid();

        return _enq_det_po_serialnumberValidationFailureMessages;
    }

    model_internal function set enq_det_po_serialnumberValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_enq_det_po_serialnumberValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_enq_det_po_serialnumberValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "enq_det_po_serialnumberValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get po_confirm_dateStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get po_confirm_dateValidator() : StyleValidator
    {
        return model_internal::_po_confirm_dateValidator;
    }

    model_internal function set _po_confirm_dateIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_po_confirm_dateIsValid;         
        if (oldValue !== value)
        {
            model_internal::_po_confirm_dateIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_confirm_dateIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get po_confirm_dateIsValid():Boolean
    {
        if (!model_internal::_po_confirm_dateIsValidCacheInitialized)
        {
            model_internal::calculatePo_confirm_dateIsValid();
        }

        return model_internal::_po_confirm_dateIsValid;
    }

    model_internal function calculatePo_confirm_dateIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_po_confirm_dateValidator.validate(model_internal::_instance.po_confirm_date)
        model_internal::_po_confirm_dateIsValid_der = (valRes.results == null);
        model_internal::_po_confirm_dateIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::po_confirm_dateValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::po_confirm_dateValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get po_confirm_dateValidationFailureMessages():Array
    {
        if (model_internal::_po_confirm_dateValidationFailureMessages == null)
            model_internal::calculatePo_confirm_dateIsValid();

        return _po_confirm_dateValidationFailureMessages;
    }

    model_internal function set po_confirm_dateValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_po_confirm_dateValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_po_confirm_dateValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "po_confirm_dateValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get expected_datetimeStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get expected_datetimeValidator() : StyleValidator
    {
        return model_internal::_expected_datetimeValidator;
    }

    model_internal function set _expected_datetimeIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_expected_datetimeIsValid;         
        if (oldValue !== value)
        {
            model_internal::_expected_datetimeIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "expected_datetimeIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get expected_datetimeIsValid():Boolean
    {
        if (!model_internal::_expected_datetimeIsValidCacheInitialized)
        {
            model_internal::calculateExpected_datetimeIsValid();
        }

        return model_internal::_expected_datetimeIsValid;
    }

    model_internal function calculateExpected_datetimeIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_expected_datetimeValidator.validate(model_internal::_instance.expected_datetime)
        model_internal::_expected_datetimeIsValid_der = (valRes.results == null);
        model_internal::_expected_datetimeIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::expected_datetimeValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::expected_datetimeValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get expected_datetimeValidationFailureMessages():Array
    {
        if (model_internal::_expected_datetimeValidationFailureMessages == null)
            model_internal::calculateExpected_datetimeIsValid();

        return _expected_datetimeValidationFailureMessages;
    }

    model_internal function set expected_datetimeValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_expected_datetimeValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_expected_datetimeValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "expected_datetimeValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get po_gstStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get no_of_daysStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    [Bindable(event="propertyChange")]   
    public function get sales_con_codeStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get sales_con_codeValidator() : StyleValidator
    {
        return model_internal::_sales_con_codeValidator;
    }

    model_internal function set _sales_con_codeIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_sales_con_codeIsValid;         
        if (oldValue !== value)
        {
            model_internal::_sales_con_codeIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "sales_con_codeIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get sales_con_codeIsValid():Boolean
    {
        if (!model_internal::_sales_con_codeIsValidCacheInitialized)
        {
            model_internal::calculateSales_con_codeIsValid();
        }

        return model_internal::_sales_con_codeIsValid;
    }

    model_internal function calculateSales_con_codeIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_sales_con_codeValidator.validate(model_internal::_instance.sales_con_code)
        model_internal::_sales_con_codeIsValid_der = (valRes.results == null);
        model_internal::_sales_con_codeIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::sales_con_codeValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::sales_con_codeValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get sales_con_codeValidationFailureMessages():Array
    {
        if (model_internal::_sales_con_codeValidationFailureMessages == null)
            model_internal::calculateSales_con_codeIsValid();

        return _sales_con_codeValidationFailureMessages;
    }

    model_internal function set sales_con_codeValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_sales_con_codeValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_sales_con_codeValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "sales_con_codeValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }

    [Bindable(event="propertyChange")]   
    public function get warehouse_serialnumber_fkStyle():com.adobe.fiber.styles.Style
    {
        return model_internal::_nullStyle;
    }

    public function get warehouse_serialnumber_fkValidator() : StyleValidator
    {
        return model_internal::_warehouse_serialnumber_fkValidator;
    }

    model_internal function set _warehouse_serialnumber_fkIsValid_der(value:Boolean):void 
    {
        var oldValue:Boolean = model_internal::_warehouse_serialnumber_fkIsValid;         
        if (oldValue !== value)
        {
            model_internal::_warehouse_serialnumber_fkIsValid = value;
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "warehouse_serialnumber_fkIsValid", oldValue, value));
        }                             
    }

    [Bindable(event="propertyChange")]
    public function get warehouse_serialnumber_fkIsValid():Boolean
    {
        if (!model_internal::_warehouse_serialnumber_fkIsValidCacheInitialized)
        {
            model_internal::calculateWarehouse_serialnumber_fkIsValid();
        }

        return model_internal::_warehouse_serialnumber_fkIsValid;
    }

    model_internal function calculateWarehouse_serialnumber_fkIsValid():void
    {
        var valRes:ValidationResultEvent = model_internal::_warehouse_serialnumber_fkValidator.validate(model_internal::_instance.warehouse_serialnumber_fk)
        model_internal::_warehouse_serialnumber_fkIsValid_der = (valRes.results == null);
        model_internal::_warehouse_serialnumber_fkIsValidCacheInitialized = true;
        if (valRes.results == null)
             model_internal::warehouse_serialnumber_fkValidationFailureMessages_der = emptyArray;
        else
        {
            var _valFailures:Array = new Array();
            for (var a:int = 0 ; a<valRes.results.length ; a++)
            {
                _valFailures.push(valRes.results[a].errorMessage);
            }
            model_internal::warehouse_serialnumber_fkValidationFailureMessages_der = _valFailures;
        }
    }

    [Bindable(event="propertyChange")]
    public function get warehouse_serialnumber_fkValidationFailureMessages():Array
    {
        if (model_internal::_warehouse_serialnumber_fkValidationFailureMessages == null)
            model_internal::calculateWarehouse_serialnumber_fkIsValid();

        return _warehouse_serialnumber_fkValidationFailureMessages;
    }

    model_internal function set warehouse_serialnumber_fkValidationFailureMessages_der(value:Array) : void
    {
        var oldValue:Array = model_internal::_warehouse_serialnumber_fkValidationFailureMessages;

        var needUpdate : Boolean = false;
        if (oldValue == null)
            needUpdate = true;
    
        // avoid firing the event when old and new value are different empty arrays
        if (!needUpdate && (oldValue !== value && (oldValue.length > 0 || value.length > 0)))
        {
            if (oldValue.length == value.length)
            {
                for (var a:int=0; a < oldValue.length; a++)
                {
                    if (oldValue[a] !== value[a])
                    {
                        needUpdate = true;
                        break;
                    }
                }
            }
            else
            {
                needUpdate = true;
            }
        }

        if (needUpdate)
        {
            model_internal::_warehouse_serialnumber_fkValidationFailureMessages = value;   
            this.dispatchEvent(mx.events.PropertyChangeEvent.createUpdateEvent(this, "warehouse_serialnumber_fkValidationFailureMessages", oldValue, value));
            // Only execute calculateIsValid if it has been called before, to update the validationFailureMessages for
            // the entire entity.
            if (model_internal::_instance.model_internal::_cacheInitialized_isValid)
            {
                model_internal::_instance.model_internal::isValid_der = model_internal::_instance.model_internal::calculateIsValid();
            }
        }
    }


     /**
     * 
     * @inheritDoc 
     */ 
     override public function getStyle(propertyName:String):com.adobe.fiber.styles.IStyle
     {
         switch(propertyName)
         {
            default:
            {
                return null;
            }
         }
     }
     
     /**
     * 
     * @inheritDoc 
     *  
     */  
     override public function getPropertyValidationFailureMessages(propertyName:String):Array
     {
         switch(propertyName)
         {
            case("enq_po_serialnumber"):
            {
                return enq_po_serialnumberValidationFailureMessages;
            }
            case("mapped_sc_list"):
            {
                return mapped_sc_listValidationFailureMessages;
            }
            case("pro_tax"):
            {
                return pro_taxValidationFailureMessages;
            }
            case("po_closed_date"):
            {
                return po_closed_dateValidationFailureMessages;
            }
            case("delivery_loc"):
            {
                return delivery_locValidationFailureMessages;
            }
            case("enq_po_serialnumber_fk"):
            {
                return enq_po_serialnumber_fkValidationFailureMessages;
            }
            case("pro_discount"):
            {
                return pro_discountValidationFailureMessages;
            }
            case("sales_conformation_fk"):
            {
                return sales_conformation_fkValidationFailureMessages;
            }
            case("sgd_listprice"):
            {
                return sgd_listpriceValidationFailureMessages;
            }
            case("other_part_no"):
            {
                return other_part_noValidationFailureMessages;
            }
            case("warehouse_name"):
            {
                return warehouse_nameValidationFailureMessages;
            }
            case("pro_name"):
            {
                return pro_nameValidationFailureMessages;
            }
            case("self_sc"):
            {
                return self_scValidationFailureMessages;
            }
            case("enq_code"):
            {
                return enq_codeValidationFailureMessages;
            }
            case("part_number"):
            {
                return part_numberValidationFailureMessages;
            }
            case("po_remarks"):
            {
                return po_remarksValidationFailureMessages;
            }
            case("enq_pro_qty"):
            {
                return enq_pro_qtyValidationFailureMessages;
            }
            case("unit_price"):
            {
                return unit_priceValidationFailureMessages;
            }
            case("pro_description"):
            {
                return pro_descriptionValidationFailureMessages;
            }
            case("po_issue_date"):
            {
                return po_issue_dateValidationFailureMessages;
            }
            case("pro_qty"):
            {
                return pro_qtyValidationFailureMessages;
            }
            case("sc_detserialnumber_fk"):
            {
                return sc_detserialnumber_fkValidationFailureMessages;
            }
            case("enq_serialnumber_fk"):
            {
                return enq_serialnumber_fkValidationFailureMessages;
            }
            case("enq_pro_serialnumber_fk"):
            {
                return enq_pro_serialnumber_fkValidationFailureMessages;
            }
            case("po_serialnumber_fk"):
            {
                return po_serialnumber_fkValidationFailureMessages;
            }
            case("client_name"):
            {
                return client_nameValidationFailureMessages;
            }
            case("po_detserialnumber"):
            {
                return po_detserialnumberValidationFailureMessages;
            }
            case("enq_detserialnumber_fk"):
            {
                return enq_detserialnumber_fkValidationFailureMessages;
            }
            case("cre_datetime"):
            {
                return cre_datetimeValidationFailureMessages;
            }
            case("po_status"):
            {
                return po_statusValidationFailureMessages;
            }
            case("pro_status"):
            {
                return pro_statusValidationFailureMessages;
            }
            case("po_id"):
            {
                return po_idValidationFailureMessages;
            }
            case("pro_total_price"):
            {
                return pro_total_priceValidationFailureMessages;
            }
            case("stamp_number"):
            {
                return stamp_numberValidationFailureMessages;
            }
            case("pro_serialnumber_fk"):
            {
                return pro_serialnumber_fkValidationFailureMessages;
            }
            case("enq_det_po_serialnumber"):
            {
                return enq_det_po_serialnumberValidationFailureMessages;
            }
            case("po_confirm_date"):
            {
                return po_confirm_dateValidationFailureMessages;
            }
            case("expected_datetime"):
            {
                return expected_datetimeValidationFailureMessages;
            }
            case("sales_con_code"):
            {
                return sales_con_codeValidationFailureMessages;
            }
            case("warehouse_serialnumber_fk"):
            {
                return warehouse_serialnumber_fkValidationFailureMessages;
            }
            default:
            {
                return emptyArray;
            }
         }
     }

}

}
